From 5dbadd0895bab3a52f3037bcc866eb9c95c9358c Mon Sep 17 00:00:00 2001 From: "seqan-actions[bot]" Date: Mon, 16 Sep 2024 06:16:57 +0200 Subject: [PATCH] [MISC] IWYU --- include/hibf/layout/hierarchical_binning.hpp | 7 +++--- src/layout/data_store.cpp | 6 ++++- src/layout/hierarchical_binning.cpp | 5 ++-- test/include/hibf/test/expect_throw_msg.hpp | 7 +++++- test/unit/hibf/config_test.cpp | 25 +++++++++---------- test/unit/hibf/layout/data_store_test.cpp | 13 +++++++--- .../hibf/layout/hierarchical_binning_test.cpp | 9 ++++--- 7 files changed, 44 insertions(+), 28 deletions(-) diff --git a/include/hibf/layout/hierarchical_binning.hpp b/include/hibf/layout/hierarchical_binning.hpp index 25b28cbc..551173d4 100644 --- a/include/hibf/layout/hierarchical_binning.hpp +++ b/include/hibf/layout/hierarchical_binning.hpp @@ -10,10 +10,9 @@ #include // for pair #include // for vector -#include // for bin_size_in_bits -#include // for config -#include // for data_store -#include // for HIBF_WORKAROUND_GCC_BOGUS_MEMCPY +#include // for config +#include // for data_store +#include // for HIBF_WORKAROUND_GCC_BOGUS_MEMCPY namespace seqan::hibf::layout { diff --git a/src/layout/data_store.cpp b/src/layout/data_store.cpp index 68a5fe46..ee72cdd1 100644 --- a/src/layout/data_store.cpp +++ b/src/layout/data_store.cpp @@ -2,7 +2,11 @@ // SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include // for data_store +#include // for invalid_argument +#include // for vector + +#include // for data_store +#include // for hyperloglog namespace seqan::hibf::layout { diff --git a/src/layout/hierarchical_binning.cpp b/src/layout/hierarchical_binning.cpp index a519deed..ab058cc0 100644 --- a/src/layout/hierarchical_binning.cpp +++ b/src/layout/hierarchical_binning.cpp @@ -2,12 +2,13 @@ // SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include // for copy, max, fill_n, min +#include // for max, min #include // for assert #include // for log, ceil #include // for size_t #include // for numeric_limits -#include // for allocator, operator+, string +#include // for invalid_argument +#include // for operator+, string #include // for pair #include // for vector diff --git a/test/include/hibf/test/expect_throw_msg.hpp b/test/include/hibf/test/expect_throw_msg.hpp index 688b917d..95c37ae9 100644 --- a/test/include/hibf/test/expect_throw_msg.hpp +++ b/test/include/hibf/test/expect_throw_msg.hpp @@ -9,7 +9,12 @@ #pragma once -#include +#include // for GTEST_NONFATAL_FAILURE_, AssertionResult, GetTypeName, EqHelper + +#include // for exception +#include // for invalid_argument +#include // for string +#include // for string_view #include diff --git a/test/unit/hibf/config_test.cpp b/test/unit/hibf/config_test.cpp index 1f4d70e3..43d98fca 100644 --- a/test/unit/hibf/config_test.cpp +++ b/test/unit/hibf/config_test.cpp @@ -2,19 +2,18 @@ // SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include // for Message, TestPartResult, AssertionResult, Test, EXPECT_EQ, CaptureStderr - -#include // for size_t -#include // for function -#include // for basic_stringstream, stringstream -#include // for invalid_argument -#include // for allocator, char_traits, string -#include // for string_view -#include // for move - -#include // for config, insert_iterator -#include // for test_serialisation -#include +#include // for Message, TestPartResult, AssertionResult, Test, EXPECT_EQ, Capture... + +#include // for size_t +#include // for function +#include // for basic_stringstream, stringstream +#include // for invalid_argument +#include // for allocator, char_traits, string +#include // for move + +#include // for config, insert_iterator +#include // for test_serialisation +#include // for EXPECT_THROW_MSG TEST(config_test, write_to) { diff --git a/test/unit/hibf/layout/data_store_test.cpp b/test/unit/hibf/layout/data_store_test.cpp index a2796d3c..b5c4dda6 100644 --- a/test/unit/hibf/layout/data_store_test.cpp +++ b/test/unit/hibf/layout/data_store_test.cpp @@ -2,10 +2,17 @@ // SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include +#include // for Message, TestPartResult, Test, TestInfo, EXPECT_NO_THROW, TEST -#include -#include +#include // for size_t +#include // for invalid_argument +#include // for basic_string +#include // for vector + +#include // for data_store +#include // for layout +#include // for hyperloglog +#include // for EXPECT_THROW_MSG TEST(data_store_test, validate) { diff --git a/test/unit/hibf/layout/hierarchical_binning_test.cpp b/test/unit/hibf/layout/hierarchical_binning_test.cpp index 10d3ffca..8a94d304 100644 --- a/test/unit/hibf/layout/hierarchical_binning_test.cpp +++ b/test/unit/hibf/layout/hierarchical_binning_test.cpp @@ -2,10 +2,11 @@ // SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include // for Test, Message, TestPartResult, TestInfo, EXPECT_EQ +#include // for Test, Message, TestPartResult, TestInfo, TEST, EXP... -#include // for size_t -#include // for vector, allocator +#include // for size_t +#include // for invalid_argument +#include // for vector #include // for config #include // for compute_fpr_correction @@ -14,7 +15,7 @@ #include // for hierarchical_binning #include // for layout #include // for expect_range_eq, EXPECT_RANGE_EQ -#include +#include // for EXPECT_THROW_MSG TEST(hierarchical_binning_test, missing_sketches) {