From 6251a9e4f2cab704ce19221354eed0764e4385a6 Mon Sep 17 00:00:00 2001 From: achabense <60953653+achabense@users.noreply.github.com> Date: Tue, 10 Oct 2023 23:22:59 +0800 Subject: [PATCH 01/13] add test for set operations and observers --- tests/std/tests/P1222R4_flat_set/test.cpp | 132 +++++++++++++++++++++- 1 file changed, 126 insertions(+), 6 deletions(-) diff --git a/tests/std/tests/P1222R4_flat_set/test.cpp b/tests/std/tests/P1222R4_flat_set/test.cpp index e0dad813302..98139fd07af 100644 --- a/tests/std/tests/P1222R4_flat_set/test.cpp +++ b/tests/std/tests/P1222R4_flat_set/test.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -505,13 +506,126 @@ void test_erase_if() { assert(ranges::equal(fs, erased_result)); } -// TRANSITION, too simple -void test_count() { - flat_set fs{2}; +template