summaryrefslogtreecommitdiff
path: root/src/03/graph_test.c
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-07 13:50:13 -0600
committermo khan <mo.khan@gmail.com>2020-09-07 13:50:13 -0600
commit5aaa10060fa446d44a92620176601a9a5db0ccbe (patch)
treefbc7cc56afe70a46b9b19ce1f1b6e827e4942422 /src/03/graph_test.c
parent7565e1adf1cf9c4dff5ea3a5d435867fd9f6a0f3 (diff)
test: add graph_tests to suite
Diffstat (limited to 'src/03/graph_test.c')
-rw-r--r--src/03/graph_test.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/03/graph_test.c b/src/03/graph_test.c
new file mode 100644
index 0000000..fca7b45
--- /dev/null
+++ b/src/03/graph_test.c
@@ -0,0 +1,15 @@
+#include "graph.h"
+#include <cgreen/cgreen.h>
+#include <string.h>
+
+Ensure(three_equals_three) {
+ assert_that(3, is_equal_to(3));
+}
+
+TestSuite *graph_tests() {
+ TestSuite *x = create_test_suite();
+
+ add_test(x, three_equals_three);
+
+ return x;
+}