diff --git a/tests/test_BuildInfo.cpp b/tests/test_BuildInfo.cpp index 36c8c79aac7c150764512dadab9306438b4432db..335cc74e420122f61a59067c0df89e416e55c2ba 100644 --- a/tests/test_BuildInfo.cpp +++ b/tests/test_BuildInfo.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_BUILD_INFO_HPP -#define TEST_BUILD_INFO_HPP - #include <catch2/catch.hpp> #include <utils/BuildInfo.hpp> @@ -66,5 +63,3 @@ TEST_CASE("BuildInfo", "[utils]") #endif // PUGS_HAS_PETSC } } - -#endif // TEST_BUILD_INFO_HPP diff --git a/tests/test_CRSGraph.cpp b/tests/test_CRSGraph.cpp index 1759dd213ba9cfa90915410cb9549a1be0be7a67..5c2fc7f287249468886f557d30bbb5740216f114 100644 --- a/tests/test_CRSGraph.cpp +++ b/tests/test_CRSGraph.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_CRS_GRAPH_HPP -#define TEST_CRS_GRAPH_HPP - #include <catch2/catch.hpp> #include <utils/CRSGraph.hpp> @@ -40,5 +37,3 @@ TEST_CASE("CRSGraph", "[utils]") REQUIRE(neighbors.size() == graph.neighbors().size()); REQUIRE(&neighbors[0] == &graph.neighbors()[0]); } - -#endif // TEST_CRS_GRAPH_HPP diff --git a/tests/test_CastArray.cpp b/tests/test_CastArray.cpp index ea3899ce84c95fa70f6a301cc7e1ec2eb701eb51..6a014045cfaf19a039dcaf0be97edaa81bea8522 100644 --- a/tests/test_CastArray.cpp +++ b/tests/test_CastArray.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_CAST_ARRAY_HPP -#define TEST_CAST_ARRAY_HPP - #include <catch2/catch.hpp> #include <utils/ArrayUtils.hpp> @@ -89,5 +86,3 @@ TEST_CASE("CastArray", "[utils]") } } } - -#endif // TEST_CAST_ARRAY_HPP diff --git a/tests/test_ConsoleManager.cpp b/tests/test_ConsoleManager.cpp index 2661852186f6d4bafd89b2f58d5f59b9b3fd0927..4387d7042065df80406ba3ba1c06ba44ec3f9e97 100644 --- a/tests/test_ConsoleManager.cpp +++ b/tests/test_ConsoleManager.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_CONSOLE_MANAGER_HPP -#define TEST_CONSOLE_MANAGER_HPP - #include <catch2/catch.hpp> #include <utils/ConsoleManager.hpp> @@ -33,5 +30,3 @@ TEST_CASE("ConsoleManager", "[utils]") rang::setControlMode(saved_control); } } - -#endif // TEST_CONSOLE_MANAGER_HPP diff --git a/tests/test_Demangle.cpp b/tests/test_Demangle.cpp index 057bf9db93e42dc3115e7d7619ef887109dfd21a..a3489fd2d629fe835e3ce247a8ac8008bb06ff9d 100644 --- a/tests/test_Demangle.cpp +++ b/tests/test_Demangle.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_DEMANGLE_HPP -#define TEST_DEMANGLE_HPP - #include <catch2/catch.hpp> #include <utils/Demangle.hpp> @@ -38,5 +35,3 @@ TEST_CASE("Demangle", "[utils]") REQUIRE((std::string{"not_mangled"} == demangle("not_mangled"))); } } - -#endif // TEST_DEMANGLE_HPP diff --git a/tests/test_EscapedString.cpp b/tests/test_EscapedString.cpp index 925ebadbda1f8851d7d2ee208bbaa619b8dd435b..3dca01496813ca51e6b52afd1be3c446bc7df54b 100644 --- a/tests/test_EscapedString.cpp +++ b/tests/test_EscapedString.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_ESCAPED_STRING_HPP -#define TEST_ESCAPED_STRING_HPP - #include <catch2/catch.hpp> #include <utils/EscapedString.hpp> @@ -23,5 +20,3 @@ TEST_CASE("EscapedString", "[utils]") REQUIRE(unescapeString(s) == std::string{"foo\'\\\"\?\a\b\f\n\r\t\vbar"}); } } - -#endif // TEST_ESCAPED_STRING_HPP diff --git a/tests/test_Exceptions.cpp b/tests/test_Exceptions.cpp index 720bd40ea73cfa529b90018fcc2fdcdd12c2603d..25b181ae165aef26cd25942cc52741a2606b50ac 100644 --- a/tests/test_Exceptions.cpp +++ b/tests/test_Exceptions.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_EXCEPTIONS_HPP -#define TEST_EXCEPTIONS_HPP - #include <catch2/catch.hpp> #include <utils/Exceptions.hpp> @@ -21,5 +18,3 @@ TEST_CASE("Exceptions", "[utils]") REQUIRE(std::string{not_implemented_error.what()} == "not implemented yet: not implemented error"); } } - -#endif // TEST_EXCEPTIONS_HPP diff --git a/tests/test_Partitioner.cpp b/tests/test_Partitioner.cpp index f40663976571587b42bcdbf618e93de3e1827415..9af1fc6c6f24be33aa5363696f36cab5909e6e7d 100644 --- a/tests/test_Partitioner.cpp +++ b/tests/test_Partitioner.cpp @@ -1,6 +1,3 @@ -#ifndef TEST_PARTITIONER_HPP -#define TEST_PARTITIONER_HPP - #include <catch2/catch.hpp> #include <utils/Messenger.hpp> @@ -87,5 +84,3 @@ TEST_CASE("Partitioner", "[utils]") } } } - -#endif // TEST_PARTITIONER_HPP