diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-10-11 14:22:30 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-10-11 14:22:30 +0200 |
commit | 7c2143a8c44808755bd3302e4bf17cb4b836a31e (patch) | |
tree | 56e700dcf300e7a8e8d4d75b5947d2b121c3df4d /modules/core/tests/core.cpp | |
parent | 535498274de9aec26b7baad3df6a9720e9370ede (diff) |
Mistakingly added template test which was already correctly handled
Diffstat (limited to 'modules/core/tests/core.cpp')
-rw-r--r-- | modules/core/tests/core.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/core/tests/core.cpp b/modules/core/tests/core.cpp index f418a07..12fc398 100644 --- a/modules/core/tests/core.cpp +++ b/modules/core/tests/core.cpp @@ -38,26 +38,4 @@ SAW_TEST("String Literal Append"){ SAW_EXPECT(c == "foobar", "CT String sum is not \"foobar\""); } - -SAW_TEST("Template Group Reduction"){ - using namespace saw; - - struct foo { - std::string name = "foo"; - }; - struct bar { - std::string name = "bar"; - }; - struct baz { - std::string name = "baz"; - }; - - using grp = tmpl_group<foo, bar, baz, foo, bar, foo>; - using red_grp = tmpl_group<baz, bar, foo>; - - using alg_red_grp = tmpl_reduce<grp>::type; - - static_assert(std::is_same_v<alg_red_grp, red_grp>, "Should be same type"); - SAW_EXPECT((std::is_same_v<alg_red_grp, red_grp>), "Should be same type"); -} } |