From e9a6201b343cc57f72ea1fd5de1f8ec10e4cc8c1 Mon Sep 17 00:00:00 2001 From: katinar Date: Thu, 14 Mar 2024 10:02:01 -0400 Subject: [PATCH] GML-1576 Add test data --- tests/data/complete_edges.csv | 36 +++ tests/data/complete_edges_directed.csv | 64 ++++++ tests/data/complete_graph_edges.csv | 210 ++++++++++++++++++ tests/data/dag_edges.csv | 23 ++ tests/data/disconnected_dag_edges.csv | 21 ++ tests/data/eight_nodes.csv | 8 + tests/data/empty_graph_edges.csv | 0 .../hub_connected_hubspoke_edges_directed.csv | 28 +++ tests/data/hubspoke_connected_spoke_edges.csv | 22 ++ tests/data/hubspoke_edges.csv | 19 ++ tests/data/line_edges.csv | 19 ++ tests/data/mulithub_shared_spoke_edges.csv | 22 ++ tests/data/one_node.csv | 1 + tests/data/ring_edges.csv | 20 ++ tests/data/tree_edges.csv | 19 ++ tests/data/twenty_nodes.csv | 20 ++ tests/data/zero_nodes.csv | 0 17 files changed, 532 insertions(+) create mode 100644 tests/data/complete_edges.csv create mode 100644 tests/data/complete_edges_directed.csv create mode 100644 tests/data/complete_graph_edges.csv create mode 100644 tests/data/dag_edges.csv create mode 100644 tests/data/disconnected_dag_edges.csv create mode 100644 tests/data/eight_nodes.csv create mode 100644 tests/data/empty_graph_edges.csv create mode 100644 tests/data/hub_connected_hubspoke_edges_directed.csv create mode 100644 tests/data/hubspoke_connected_spoke_edges.csv create mode 100644 tests/data/hubspoke_edges.csv create mode 100644 tests/data/line_edges.csv create mode 100644 tests/data/mulithub_shared_spoke_edges.csv create mode 100644 tests/data/one_node.csv create mode 100644 tests/data/ring_edges.csv create mode 100644 tests/data/tree_edges.csv create mode 100644 tests/data/twenty_nodes.csv create mode 100644 tests/data/zero_nodes.csv diff --git a/tests/data/complete_edges.csv b/tests/data/complete_edges.csv new file mode 100644 index 00000000..d47cd841 --- /dev/null +++ b/tests/data/complete_edges.csv @@ -0,0 +1,36 @@ +A,A +A,B +A,C +A,D +A,E +A,F +A,G +A,H +B,B +B,C +B,D +B,E +B,F +B,G +B,H +C,C +C,D +C,E +C,F +C,G +C,H +D,D +D,E +D,F +D,G +D,H +E,E +E,F +E,G +E,H +F,F +F,G +F,H +G,G +G,H +H,H \ No newline at end of file diff --git a/tests/data/complete_edges_directed.csv b/tests/data/complete_edges_directed.csv new file mode 100644 index 00000000..027637ba --- /dev/null +++ b/tests/data/complete_edges_directed.csv @@ -0,0 +1,64 @@ +A,A +A,B +A,C +A,D +A,E +A,F +A,G +A,H +B,B +B,C +B,D +B,E +B,F +B,G +B,H +C,C +C,D +C,E +C,F +C,G +C,H +D,D +D,E +D,F +D,G +D,H +E,E +E,F +E,G +E,H +F,F +F,G +F,H +G,G +G,H +H,H +B,A +C,A +D,A +E,A +F,A +G,A +H,A +C,B +D,B +E,B +F,B +G,B +H,B +D,C +E,C +F,C +G,C +H,C +E,D +F,D +G,D +H,D +F,E +G,E +H,E +G,F +H,F +H,G \ No newline at end of file diff --git a/tests/data/complete_graph_edges.csv b/tests/data/complete_graph_edges.csv new file mode 100644 index 00000000..be8a195f --- /dev/null +++ b/tests/data/complete_graph_edges.csv @@ -0,0 +1,210 @@ +A,A +A,B +A,C +A,D +A,E +A,F +A,G +A,H +A,I +A,J +A,K +A,L +A,M +A,N +A,O +A,P +A,Q +A,R +A,S +A,T +B,B +B,C +B,D +B,E +B,F +B,G +B,H +B,I +B,J +B,K +B,L +B,M +B,N +B,O +B,P +B,Q +B,R +B,S +B,T +C,C +C,D +C,E +C,F +C,G +C,H +C,I +C,J +C,K +C,L +C,M +C,N +C,O +C,P +C,Q +C,R +C,S +C,T +D,D +D,E +D,F +D,G +D,H +D,I +D,J +D,K +D,L +D,M +D,N +D,O +D,P +D,Q +D,R +D,S +D,T +E,E +E,F +E,G +E,H +E,I +E,J +E,K +E,L +E,M +E,N +E,O +E,P +E,Q +E,R +E,S +E,T +F,F +F,G +F,H +F,I +F,J +F,K +F,L +F,M +F,N +F,O +F,P +F,Q +F,R +F,S +F,T +G,G +G,H +G,I +G,J +G,K +G,L +G,M +G,N +G,O +G,P +G,Q +G,R +G,S +G,T +H,H +H,I +H,J +H,K +H,L +H,M +H,N +H,O +H,P +H,Q +H,R +H,S +H,T +I,I +I,J +I,K +I,L +I,M +I,N +I,O +I,P +I,Q +I,R +I,S +I,T +J,J +J,K +J,L +J,M +J,N +J,O +J,P +J,Q +J,R +J,S +J,T +K,K +K,L +K,M +K,N +K,O +K,P +K,Q +K,R +K,S +K,T +L,L +L,M +L,N +L,O +L,P +L,Q +L,R +L,S +L,T +M,M +M,N +M,O +M,P +M,Q +M,R +M,S +M,T +N,N +N,O +N,P +N,Q +N,R +N,S +N,T +O,O +O,P +O,Q +O,R +O,S +O,T +P,P +P,Q +P,R +P,S +P,T +Q,Q +Q,R +Q,S +Q,T +R,R +Q,S +Q,T +S,S +S,T +T,T \ No newline at end of file diff --git a/tests/data/dag_edges.csv b/tests/data/dag_edges.csv new file mode 100644 index 00000000..dd3db7c2 --- /dev/null +++ b/tests/data/dag_edges.csv @@ -0,0 +1,23 @@ +C,A +L,E +O,T +S,D +R,D +D,P +P,C +B,K +C,N +T,P +D,J +J,A +E,I +L,M +G,F +A,G +A,H +C,J +D,Q +C,H +D,C +Q,B +M,H \ No newline at end of file diff --git a/tests/data/disconnected_dag_edges.csv b/tests/data/disconnected_dag_edges.csv new file mode 100644 index 00000000..93ea7f77 --- /dev/null +++ b/tests/data/disconnected_dag_edges.csv @@ -0,0 +1,21 @@ +C,A +L,E +O,T +S,D +R,D +D,P +P,C +B,K +C,N +T,P +D,J +J,A +E,I +L,M +G,F +A,G +A,H +C,J +D,Q +C,H +D,C \ No newline at end of file diff --git a/tests/data/eight_nodes.csv b/tests/data/eight_nodes.csv new file mode 100644 index 00000000..6eba8315 --- /dev/null +++ b/tests/data/eight_nodes.csv @@ -0,0 +1,8 @@ +A +B +C +D +E +F +G +H \ No newline at end of file diff --git a/tests/data/empty_graph_edges.csv b/tests/data/empty_graph_edges.csv new file mode 100644 index 00000000..e69de29b diff --git a/tests/data/hub_connected_hubspoke_edges_directed.csv b/tests/data/hub_connected_hubspoke_edges_directed.csv new file mode 100644 index 00000000..41c2338a --- /dev/null +++ b/tests/data/hub_connected_hubspoke_edges_directed.csv @@ -0,0 +1,28 @@ +A,B +B,A +A,C +C,A +A,D +D,A +B,C +C,B +B,D +D,B +C,D +D,C +A,E +A,F +A,G +A,H +B,I +B,J +B,K +B,L +C,M +C,N +C,O +C,P +D,Q +D,R +D,S +D,T \ No newline at end of file diff --git a/tests/data/hubspoke_connected_spoke_edges.csv b/tests/data/hubspoke_connected_spoke_edges.csv new file mode 100644 index 00000000..f60b8135 --- /dev/null +++ b/tests/data/hubspoke_connected_spoke_edges.csv @@ -0,0 +1,22 @@ +A,B +A,C +A,D +B,C +B,D +C,D +A,E +A,F +A,G +A,H +B,I +B,J +B,K +B,L +C,M +C,N +C,O +C,P +D,Q +D,R +D,S +D,T \ No newline at end of file diff --git a/tests/data/hubspoke_edges.csv b/tests/data/hubspoke_edges.csv new file mode 100644 index 00000000..5b71b79b --- /dev/null +++ b/tests/data/hubspoke_edges.csv @@ -0,0 +1,19 @@ +A,B +A,C +A,D +A,E +A,F +A,G +A,H +A,I +A,J +A,K +A,L +A,M +A,N +A,O +A,P +A,Q +A,R +A,S +A,T \ No newline at end of file diff --git a/tests/data/line_edges.csv b/tests/data/line_edges.csv new file mode 100644 index 00000000..06ed1d7f --- /dev/null +++ b/tests/data/line_edges.csv @@ -0,0 +1,19 @@ +A,B +B,C +C,D +D,E +E,F +F,G +G,H +H,I +I,J +J,K +K,L +L,M +M,N +N,O +O,P +P,Q +Q,R +R,S +S,T \ No newline at end of file diff --git a/tests/data/mulithub_shared_spoke_edges.csv b/tests/data/mulithub_shared_spoke_edges.csv new file mode 100644 index 00000000..f60b8135 --- /dev/null +++ b/tests/data/mulithub_shared_spoke_edges.csv @@ -0,0 +1,22 @@ +A,B +A,C +A,D +B,C +B,D +C,D +A,E +A,F +A,G +A,H +B,I +B,J +B,K +B,L +C,M +C,N +C,O +C,P +D,Q +D,R +D,S +D,T \ No newline at end of file diff --git a/tests/data/one_node.csv b/tests/data/one_node.csv new file mode 100644 index 00000000..8c7e5a66 --- /dev/null +++ b/tests/data/one_node.csv @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/tests/data/ring_edges.csv b/tests/data/ring_edges.csv new file mode 100644 index 00000000..d48e4003 --- /dev/null +++ b/tests/data/ring_edges.csv @@ -0,0 +1,20 @@ +A,B +B,C +C,D +D,E +E,F +F,G +G,H +H,I +I,J +J,K +K,L +L,M +M,N +N,O +O,P +P,Q +Q,R +R,S +S,T +T,A \ No newline at end of file diff --git a/tests/data/tree_edges.csv b/tests/data/tree_edges.csv new file mode 100644 index 00000000..e715ae8b --- /dev/null +++ b/tests/data/tree_edges.csv @@ -0,0 +1,19 @@ +A,B +A,C +B,D +B,E +C,F +C,G +D,H +D,I +E,J +E,K +F,L +F,M +G,N +G,O +H,P +H,Q +I,R +I,S +J,T \ No newline at end of file diff --git a/tests/data/twenty_nodes.csv b/tests/data/twenty_nodes.csv new file mode 100644 index 00000000..8a31334b --- /dev/null +++ b/tests/data/twenty_nodes.csv @@ -0,0 +1,20 @@ +A +B +C +D +E +F +G +H +I +J +K +L +M +N +O +P +Q +R +S +T \ No newline at end of file diff --git a/tests/data/zero_nodes.csv b/tests/data/zero_nodes.csv new file mode 100644 index 00000000..e69de29b