summaryrefslogtreecommitdiff
path: root/test/rat_tests-parse_graphs.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2020-11-12 17:06:06 +1100
committerJed Barber <jjbarber@y7mail.com>2020-11-12 17:06:06 +1100
commit84696069475bfa7732326dee94a2c8a852ece827 (patch)
tree9e48e554c21238150f24b9b5c94d499494772144 /test/rat_tests-parse_graphs.ads
parenteccf08d5ee8915688841b47cff1d487732da8f06 (diff)
Outline of tests for Parse_Graphs
Diffstat (limited to 'test/rat_tests-parse_graphs.ads')
-rw-r--r--test/rat_tests-parse_graphs.ads101
1 files changed, 93 insertions, 8 deletions
diff --git a/test/rat_tests-parse_graphs.ads b/test/rat_tests-parse_graphs.ads
index bec4853..ad2e48d 100644
--- a/test/rat_tests-parse_graphs.ads
+++ b/test/rat_tests-parse_graphs.ads
@@ -7,19 +7,104 @@ use Unit_Tests;
package Rat_Tests.Parse_Graphs is
- function Root_Check return Test_Result;
- function Finish_List_Check return Test_Result;
- function Sub_Nodes_Check return Test_Result;
+ function Debug_String_Check return String;
+
+
+ function Assign_Check return Test_Result;
+ function Copy_Check return Test_Result;
+ function Move_Check return Test_Result;
+
+ function Is_Empty_Check return Test_Result;
+ function Clear_Check return Test_Result;
+
+ function Contains_Check return Test_Result;
+ function Reachable_Check return Test_Result;
+ function All_Reachable_Check return Test_Result;
+ function Valid_Starts_Finishes_Check return Test_Result;
+ function No_Loops_Introduced_Check return Test_Result;
+ function Is_Sorted_Check return Test_Result;
+ function No_Duplicates_Check return Test_Result;
+
+ function Include_Check return Test_Result;
+ function Connect_Check return Test_Result;
function Prune_Check return Test_Result;
- function Ambiguous_Check return Test_Result;
+ function Delete_Unreachable_Check return Test_Result;
+
+ function Has_Root_Check return Test_Result;
+ function Set_Root_Check return Test_Result;
+ function Clear_Root_Check return Test_Result;
+ function Root_Token_Check return Test_Result;
+ function Root_Finish_List_Check return Test_Result;
+ function Root_Element_Check return Test_Result;
+
+ function Finish_List_Check return Test_Result;
+ function Is_Leaf_Check return Test_Result;
+ function Is_Branch_Check return Test_Result;
+
+ function Subgroups_Check return Test_Result;
+ function First_Index_Check return Test_Result;
+ function Last_Index_Check return Test_Result;
+ function Length_Check return Test_Result;
+ function Element_Check return Test_Result;
+ function Elements_Check return Test_Result;
+ function Parent_Check return Test_Result;
+ function Finish_Check return Test_Result;
+
+ function Is_Root_Ambiguous_Check return Test_Result;
+ function Is_Ambiguous_Check return Test_Result;
+ function Ambiguities_Check return Test_Result;
+
+ function Isomorphic_Check return Test_Result;
+ function Isomorphic_Subgraph_Check return Test_Result;
Tests : Test_Array :=
- ((+"Root getter, setter", Root_Check'Access),
- (+"Finish_List", Finish_List_Check'Access),
- (+"Sub_Nodes", Sub_Nodes_Check'Access),
+ ((+"Assign", Assign_Check'Access),
+ (+"Copy", Copy_Check'Access),
+ (+"Move", Move_Check'Access),
+
+ (+"Is_Empty", Is_Empty_Check'Access),
+ (+"Clear", Clear_Check'Access),
+
+ (+"Contains", Contains_Check'Access),
+ (+"Reachable", Reachable_Check'Access),
+ (+"All_Reachable", All_Reachable_Check'Access),
+ (+"Valid_Starts_Finishes", Valid_Starts_Finishes_Check'Access),
+ (+"No_Loops_Introduced", No_Loops_Introduced_Check'Access),
+ (+"Is_Sorted", Is_Sorted_Check'Access),
+ (+"No_Duplicates", No_Duplicates_Check'Access),
+
+ (+"Include", Include_Check'Access),
+ (+"Connect", Connect_Check'Access),
(+"Prune", Prune_Check'Access),
- (+"Is_Ambiguous", Ambiguous_Check'Access));
+ (+"Delete_Unreachable", Delete_Unreachable_Check'Access),
+
+ (+"Has_Root", Has_Root_Check'Access),
+ (+"Set_Root", Set_Root_Check'Access),
+ (+"Clear_Root", Clear_Root_Check'Access),
+ (+"Root_Token", Root_Token_Check'Access),
+ (+"Root_Finish_List", Root_Finish_List_Check'Access),
+ (+"Root_Element", Root_Element_Check'Access),
+
+ (+"Finish_List", Finish_List_Check'Access),
+ (+"Is_Leaf", Is_Leaf_Check'Access),
+ (+"Is_Branch", Is_Branch_Check'Access),
+
+ (+"Subgroups", Subgroups_Check'Access),
+ (+"First_Index", First_Index_Check'Access),
+ (+"Last_Index", Last_Index_Check'Access),
+ (+"Length", Length_Check'Access),
+ (+"Element", Element_Check'Access),
+ (+"Elements", Elements_Check'Access),
+ (+"Parent", Parent_Check'Access),
+ (+"Finish", Finish_Check'Access),
+
+ (+"Is_Root_Ambiguous", Is_Root_Ambiguous_Check'Access),
+ (+"Is_Ambiguous", Is_Ambiguous_Check'Access),
+ (+"Ambiguities", Ambiguities_Check'Access),
+
+ (+"Isomorphic", Isomorphic_Check'Access),
+ (+"Isomorphic_Subgraph", Isomorphic_Subgraph_Check'Access));
end Rat_Tests.Parse_Graphs;