]> git.ozlabs.org Git - ccan/blobdiff - ccan/aga/test/api-adjacency.c
fdpass: new module.
[ccan] / ccan / aga / test / api-adjacency.c
index 8f6c6d55c7f18de9cb25afaa0b6631076814081c..3168522401018b751eb5b2daa70792d863af2963 100644 (file)
@@ -62,8 +62,10 @@ int main(void)
        struct error_graph eg;
        struct traversal1_graph t1g;
        struct shortcut1_graph s1g;
+       struct shortcut2_graph s2g;
+       struct negacycle_graph ng;
 
-       plan_tests(2 + 7 + 35 + 30 + 30 + 42 + 9 + 30 + 9);
+       plan_tests(2 + 7 + 35 + 30 + 30 + 42 + 9 + 30 + 9 + 9 + 9);
 
        trivial_graph_init(&tg);
        test_adjacency("trivial", &tg.sg, trivial_adjacency);
@@ -95,5 +97,11 @@ int main(void)
        shortcut1_graph_init(&s1g);
        test_adjacency("shortcut1 graph", &s1g.sg, shortcut1_adjacency);
 
+       shortcut2_graph_init(&s2g);
+       test_adjacency("shortcut2 graph", &s2g.sg, shortcut2_adjacency);
+
+       negacycle_graph_init(&ng);
+       test_adjacency("negacycle graph", &ng.sg, negacycle_adjacency);
+
        return exit_status();
 }