test: Add median condition generation test entries
A median condition generates the same way a count condition does, this
adds entries to the condition generation test yaml to generate median
conditions. These median condition generation tests have separate
callbacks configured to be verified by the condition generation tests.
Tested:
conditiongentest.hpp generates as expected
`make check` passes conditiongentest
Change-Id: I7c51e320cfeacfa92a31d3fbc42f44c7e50b6183
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/src/test/conditiongentest.cpp b/src/test/conditiongentest.cpp
index a3dbe41..87f2b35 100644
--- a/src/test/conditiongentest.cpp
+++ b/src/test/conditiongentest.cpp
@@ -14,11 +14,8 @@
{1},
}};
-const std::array<size_t, 4> expectedCallbacks = {
- 0,
- 0,
- 1,
- 1,
+const std::array<size_t, 6> expectedCallbacks = {
+ 0, 0, 1, 1, 0, 1,
};
TEST(ConditionGenTest, GroupsSameSize)