diff options
author | Jed Barber <jjbarber@y7mail.com> | 2020-05-21 21:24:25 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2020-05-21 21:24:25 +1000 |
commit | 82a42674ba64c6386152a5910fd7345a92b135e8 (patch) | |
tree | be453540ca12e0679f9ea741f99c592696ce3b96 /test/graph_tests-search.ads | |
parent | d07979218ea80c58e64148d9638ed3e6195ff6ed (diff) |
Tests complete, minor bugs fixed
Diffstat (limited to 'test/graph_tests-search.ads')
-rw-r--r-- | test/graph_tests-search.ads | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/graph_tests-search.ads b/test/graph_tests-search.ads new file mode 100644 index 0000000..d0ea2bb --- /dev/null +++ b/test/graph_tests-search.ads @@ -0,0 +1,33 @@ + + +with Unit_Tests; +use Unit_Tests; + + +package Graph_Tests.Search is + + + function Find_Check return Test_Result; + function Find_Subgraph_Check return Test_Result; + function Contains_Check return Test_Result; + function Contains_Label_Check return Test_Result; + function Contains_Subgraph_Check return Test_Result; + function Contains_Label_Subgraph_Check return Test_Result; + function Iterate_Check return Test_Result; + function Iterate_Subgraph_Check return Test_Result; + + + Tests : Test_Array := + ((+"Find", Find_Check'Access), + (+"Find_In_Subgraph", Find_Subgraph_Check'Access), + (+"Contains", Contains_Check'Access), + (+"Contains_Label", Contains_Label_Check'Access), + (+"Contains_In_Subgraph", Contains_Subgraph_Check'Access), + (+"Contains_Label_In_Subgraph", Contains_Label_Subgraph_Check'Access), + (+"Iterate", Iterate_Check'Access), + (+"Iterate_Subgraph", Iterate_Subgraph_Check'Access)); + + +end Graph_Tests.Search; + + |