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)
diff --git a/src/test/yaml/conditiongentest/test.yaml b/src/test/yaml/conditiongentest/test.yaml
index 870877a..6e2c36e 100644
--- a/src/test/yaml/conditiongentest/test.yaml
+++ b/src/test/yaml/conditiongentest/test.yaml
@@ -93,3 +93,21 @@
   properties: test property group 1
   severity: INFO
   message: Hello world from PDM!
+
+- name: test median condition 1
+  class: condition
+  condition: median
+  paths: test path group 1
+  properties: test property group 1
+  callback: test journal callback 1
+  op: '>='
+  bound: 45
+
+- name: test median condition 2
+  class: condition
+  condition: median
+  paths: test path group 2
+  properties: test property group 1
+  callback: test journal callback 2
+  op: '>='
+  bound: 45