Add testcase for conditions

Change-Id: I94059c0be78d5b97e7e0e11c78d4a164a98a483e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/src/test/templates/conditiongentest.mako.hpp b/src/test/templates/conditiongentest.mako.hpp
new file mode 100644
index 0000000..d3267bb
--- /dev/null
+++ b/src/test/templates/conditiongentest.mako.hpp
@@ -0,0 +1,12 @@
+const std::array<std::vector<size_t>, ${len(callbackgroups)}> groups = {{
+% for g in callbackgroups:
+    {${', '.join([str(x) for x in g.members])}},
+% endfor
+}};
+
+<% graphs = [ x for x in callbacks if hasattr(x, 'graph')] %>\
+const std::array<size_t, ${len(graphs)}> callbacks = {
+% for g in graphs:
+    ${g.graph},
+% endfor
+};