From e9a6201b343cc57f72ea1fd5de1f8ec10e4cc8c1 Mon Sep 17 00:00:00 2001 From: katinar Date: Thu, 14 Mar 2024 10:02:01 -0400 Subject: [PATCH 1/3] 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 From 8d2a2c074a727be247dea2350617b66f8bd04349 Mon Sep 17 00:00:00 2001 From: katinar Date: Tue, 19 Mar 2024 10:33:28 -0400 Subject: [PATCH 2/3] GLE-1576 adding weighted graphs --- .../data/unweighted edges/complete_edges.csv | 36 +++++++++++ .../complete_edges_directed.csv | 64 +++++++++++++++++++ tests/data/unweighted edges/dag_edges.csv | 20 ++++++ .../unweighted edges/empty_graph_edges.csv | 0 .../hubspoke_connected_spoke_edges.csv | 22 +++++++ .../data/unweighted edges/hubspoke_edges.csv | 19 ++++++ tests/data/unweighted edges/line_edges.csv | 19 ++++++ .../mulithub_shared_spoke_edges.csv | 22 +++++++ tests/data/unweighted edges/ring_edges.csv | 20 ++++++ tests/data/unweighted edges/tree_edges.csv | 19 ++++++ tests/data/weighted edges/complete_edges.csv | 36 +++++++++++ .../complete_edges_directed.csv | 64 +++++++++++++++++++ tests/data/weighted edges/dag_edges.csv | 20 ++++++ .../data/weighted edges/empty_graph_edges.csv | 0 .../hubspoke_connected_spoke_edges.csv | 22 +++++++ tests/data/weighted edges/hubspoke_edges.csv | 19 ++++++ tests/data/weighted edges/line_edges.csv | 19 ++++++ .../mulithub_shared_spoke_edges.csv | 22 +++++++ .../weighted edges/negative_cycles_edges.csv | 21 ++++++ tests/data/weighted edges/ring_edges.csv | 20 ++++++ tests/data/weighted edges/tree_edges.csv | 19 ++++++ 21 files changed, 503 insertions(+) create mode 100644 tests/data/unweighted edges/complete_edges.csv create mode 100644 tests/data/unweighted edges/complete_edges_directed.csv create mode 100644 tests/data/unweighted edges/dag_edges.csv create mode 100644 tests/data/unweighted edges/empty_graph_edges.csv create mode 100644 tests/data/unweighted edges/hubspoke_connected_spoke_edges.csv create mode 100644 tests/data/unweighted edges/hubspoke_edges.csv create mode 100644 tests/data/unweighted edges/line_edges.csv create mode 100644 tests/data/unweighted edges/mulithub_shared_spoke_edges.csv create mode 100644 tests/data/unweighted edges/ring_edges.csv create mode 100644 tests/data/unweighted edges/tree_edges.csv create mode 100644 tests/data/weighted edges/complete_edges.csv create mode 100644 tests/data/weighted edges/complete_edges_directed.csv create mode 100644 tests/data/weighted edges/dag_edges.csv create mode 100644 tests/data/weighted edges/empty_graph_edges.csv create mode 100644 tests/data/weighted edges/hubspoke_connected_spoke_edges.csv create mode 100644 tests/data/weighted edges/hubspoke_edges.csv create mode 100644 tests/data/weighted edges/line_edges.csv create mode 100644 tests/data/weighted edges/mulithub_shared_spoke_edges.csv create mode 100644 tests/data/weighted edges/negative_cycles_edges.csv create mode 100644 tests/data/weighted edges/ring_edges.csv create mode 100644 tests/data/weighted edges/tree_edges.csv diff --git a/tests/data/unweighted edges/complete_edges.csv b/tests/data/unweighted edges/complete_edges.csv new file mode 100644 index 00000000..d47cd841 --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/complete_edges_directed.csv b/tests/data/unweighted edges/complete_edges_directed.csv new file mode 100644 index 00000000..027637ba --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/dag_edges.csv b/tests/data/unweighted edges/dag_edges.csv new file mode 100644 index 00000000..ba2e3f32 --- /dev/null +++ b/tests/data/unweighted edges/dag_edges.csv @@ -0,0 +1,20 @@ +C,A +L,E +O,T +S,D +R,D +D,P +P,C +B,K +C,N +D,J +J,A +E,I +L,M +G,F +A,G +A,H +C,J +C,H +D,C +Q,B \ No newline at end of file diff --git a/tests/data/unweighted edges/empty_graph_edges.csv b/tests/data/unweighted edges/empty_graph_edges.csv new file mode 100644 index 00000000..e69de29b diff --git a/tests/data/unweighted edges/hubspoke_connected_spoke_edges.csv b/tests/data/unweighted edges/hubspoke_connected_spoke_edges.csv new file mode 100644 index 00000000..f60b8135 --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/hubspoke_edges.csv b/tests/data/unweighted edges/hubspoke_edges.csv new file mode 100644 index 00000000..5b71b79b --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/line_edges.csv b/tests/data/unweighted edges/line_edges.csv new file mode 100644 index 00000000..06ed1d7f --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/mulithub_shared_spoke_edges.csv b/tests/data/unweighted edges/mulithub_shared_spoke_edges.csv new file mode 100644 index 00000000..f60b8135 --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/ring_edges.csv b/tests/data/unweighted edges/ring_edges.csv new file mode 100644 index 00000000..d48e4003 --- /dev/null +++ b/tests/data/unweighted edges/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/unweighted edges/tree_edges.csv b/tests/data/unweighted edges/tree_edges.csv new file mode 100644 index 00000000..e715ae8b --- /dev/null +++ b/tests/data/unweighted edges/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/weighted edges/complete_edges.csv b/tests/data/weighted edges/complete_edges.csv new file mode 100644 index 00000000..040b0885 --- /dev/null +++ b/tests/data/weighted edges/complete_edges.csv @@ -0,0 +1,36 @@ +A,A,2 +A,B,5 +A,C,24 +A,D,17 +A,E,15 +A,F,-7 +A,G,-2 +A,H,14 +B,B,-21 +B,C,23 +B,D,29 +B,E,1 +B,F,0 +B,G,9 +B,H,11 +C,C,18 +C,D,8 +C,E,-22 +C,F,-20 +C,G,4 +C,H,46 +D,D,-5 +D,E,21 +D,F,26 +D,G,27 +D,H,-13 +E,E,3 +E,F,2 +E,G,0 +E,H,10 +F,F,-6 +F,G,9 +F,H,22 +G,G,9 +G,H,19 +H,H,0 \ No newline at end of file diff --git a/tests/data/weighted edges/complete_edges_directed.csv b/tests/data/weighted edges/complete_edges_directed.csv new file mode 100644 index 00000000..0234608f --- /dev/null +++ b/tests/data/weighted edges/complete_edges_directed.csv @@ -0,0 +1,64 @@ +A,A,2 +A,B,5 +A,C,24 +A,D,17 +A,E,15 +A,F,-7 +A,G,-2 +A,H,14 +B,B,-21 +B,C,23 +B,D,29 +B,E,1 +B,F,0 +B,G,9 +B,H,11 +C,C,18 +C,D,8 +C,E,-22 +C,F,-20 +C,G,4 +C,H,46 +D,D,-5 +D,E,21 +D,F,26 +D,G,27 +D,H,-13 +E,E,2 +E,F,2 +E,G,0 +E,H,3 +F,F,10 +F,G,-6 +F,H,22 +G,G,19 +G,H,0 +H,H,7 +B,A,-1 +C,A,5 +D,A,28 +E,A,43 +F,A,4 +G,A,-10 +H,A,8 +C,B,22 +D,B,53 +E,B,0 +F,B,-12 +G,B,17 +H,B,11 +D,C,31 +E,C,2 +F,C,1 +G,C,25 +H,C,-8 +E,D,15 +F,D,12 +G,D,29 +H,D,-25 +F,E,49 +G,E,31 +H,E,-16 +G,F,3 +H,F,3 +H,G,45 \ No newline at end of file diff --git a/tests/data/weighted edges/dag_edges.csv b/tests/data/weighted edges/dag_edges.csv new file mode 100644 index 00000000..294fdb54 --- /dev/null +++ b/tests/data/weighted edges/dag_edges.csv @@ -0,0 +1,20 @@ +C,A,3 +L,E,-10 +O,T,22 +S,D,10 +R,D,9 +D,P,-2 +P,C,5 +B,K,-11 +C,N,6 +D,J,40 +J,A,5 +E,I,4 +L,M,17 +G,F,7 +A,G,-15 +A,H,18 +C,J,0 +C,H,1 +D,C,15 +Q,B,0 \ No newline at end of file diff --git a/tests/data/weighted edges/empty_graph_edges.csv b/tests/data/weighted edges/empty_graph_edges.csv new file mode 100644 index 00000000..e69de29b diff --git a/tests/data/weighted edges/hubspoke_connected_spoke_edges.csv b/tests/data/weighted edges/hubspoke_connected_spoke_edges.csv new file mode 100644 index 00000000..1b582d06 --- /dev/null +++ b/tests/data/weighted edges/hubspoke_connected_spoke_edges.csv @@ -0,0 +1,22 @@ +A,B,10 +A,C,-3 +A,D,2 +B,C,16 +B,D,33 +C,D,25 +A,E,4 +A,F,8 +A,G,-5 +A,H,-11 +B,I,0 +B,J,19 +B,K,1 +B,L,-6 +C,M,42 +C,N,22 +C,O,-17 +C,P,11 +D,Q,-9 +D,R,15 +D,S,21 +D,T,-1 \ No newline at end of file diff --git a/tests/data/weighted edges/hubspoke_edges.csv b/tests/data/weighted edges/hubspoke_edges.csv new file mode 100644 index 00000000..5b2a40e0 --- /dev/null +++ b/tests/data/weighted edges/hubspoke_edges.csv @@ -0,0 +1,19 @@ +A,B,10 +A,C,2 +A,D,5 +A,E,-3 +A,F,-10 +A,G,8 +A,H,25 +A,I,31 +A,J,4 +A,K,-8 +A,L,6 +A,M,44 +A,N,17 +A,O,0 +A,P,24 +A,Q,-7 +A,R,-9 +A,S,16 +A,T,35 \ No newline at end of file diff --git a/tests/data/weighted edges/line_edges.csv b/tests/data/weighted edges/line_edges.csv new file mode 100644 index 00000000..31cbe8c1 --- /dev/null +++ b/tests/data/weighted edges/line_edges.csv @@ -0,0 +1,19 @@ +A,B,5 +B,C,-1 +C,D,7 +D,E,28 +E,F,43 +F,G,4 +G,H,-10 +H,I,8 +I,J,22 +J,K,52 +K,L,0 +L,M,-12 +M,N,17 +N,O,31 +O,P,2 +P,Q,1 +Q,R,25 +R,S,-8 +S,T,15 \ No newline at end of file diff --git a/tests/data/weighted edges/mulithub_shared_spoke_edges.csv b/tests/data/weighted edges/mulithub_shared_spoke_edges.csv new file mode 100644 index 00000000..f60b8135 --- /dev/null +++ b/tests/data/weighted edges/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/weighted edges/negative_cycles_edges.csv b/tests/data/weighted edges/negative_cycles_edges.csv new file mode 100644 index 00000000..612944a0 --- /dev/null +++ b/tests/data/weighted edges/negative_cycles_edges.csv @@ -0,0 +1,21 @@ +C,A,22 +L,E,18 +S,D,-4 +R,D,10 +D,P,-10 +P,C,2 +B,K,-15 +C,N,0 +D,J,5 +J,A,-20 +E,I,-6 +L,M,14 +G,F,1 +A,G,2 +A,H,25 +K,Q,11 +C,J,20 +C,H,4 +C,D,3 +Q,B,0 +F,D,4 \ No newline at end of file diff --git a/tests/data/weighted edges/ring_edges.csv b/tests/data/weighted edges/ring_edges.csv new file mode 100644 index 00000000..796cbf83 --- /dev/null +++ b/tests/data/weighted edges/ring_edges.csv @@ -0,0 +1,20 @@ +A,B,2 +B,C,1 +C,D,-2 +D,E,8 +E,F,10 +F,G,-4 +G,H,15 +H,I,3 +I,J,18 +J,K,-3 +K,L,-4 +L,M,6 +M,N,12 +N,O,5 +O,P,9 +P,Q,11 +Q,R,0 +R,S,14 +S,T,-1 +T,A,19 \ No newline at end of file diff --git a/tests/data/weighted edges/tree_edges.csv b/tests/data/weighted edges/tree_edges.csv new file mode 100644 index 00000000..51b160e6 --- /dev/null +++ b/tests/data/weighted edges/tree_edges.csv @@ -0,0 +1,19 @@ +A,B,2 +A,C,1 +B,D,-2 +B,E,8 +C,F,22 +C,G,50 +D,H,0 +D,I,31 +E,J,17 +E,K,4 +F,L,-10 +F,M,5 +G,N,12 +G,O,21 +H,P,11 +H,Q,-6 +I,R,-5 +I,S,33 +J,T,7 \ No newline at end of file From ba03dcdf2736da7913580db185a088f21f0355cc Mon Sep 17 00:00:00 2001 From: katinar Date: Tue, 19 Mar 2024 10:38:12 -0400 Subject: [PATCH 3/3] GML-1576 removing duplicates --- 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/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/ring_edges.csv | 20 -- tests/data/tree_edges.csv | 19 -- 13 files changed, 503 deletions(-) delete mode 100644 tests/data/complete_edges.csv delete mode 100644 tests/data/complete_edges_directed.csv delete mode 100644 tests/data/complete_graph_edges.csv delete mode 100644 tests/data/dag_edges.csv delete mode 100644 tests/data/disconnected_dag_edges.csv delete mode 100644 tests/data/empty_graph_edges.csv delete mode 100644 tests/data/hub_connected_hubspoke_edges_directed.csv delete mode 100644 tests/data/hubspoke_connected_spoke_edges.csv delete mode 100644 tests/data/hubspoke_edges.csv delete mode 100644 tests/data/line_edges.csv delete mode 100644 tests/data/mulithub_shared_spoke_edges.csv delete mode 100644 tests/data/ring_edges.csv delete mode 100644 tests/data/tree_edges.csv diff --git a/tests/data/complete_edges.csv b/tests/data/complete_edges.csv deleted file mode 100644 index d47cd841..00000000 --- a/tests/data/complete_edges.csv +++ /dev/null @@ -1,36 +0,0 @@ -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 deleted file mode 100644 index 027637ba..00000000 --- a/tests/data/complete_edges_directed.csv +++ /dev/null @@ -1,64 +0,0 @@ -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 deleted file mode 100644 index be8a195f..00000000 --- a/tests/data/complete_graph_edges.csv +++ /dev/null @@ -1,210 +0,0 @@ -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 deleted file mode 100644 index dd3db7c2..00000000 --- a/tests/data/dag_edges.csv +++ /dev/null @@ -1,23 +0,0 @@ -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 deleted file mode 100644 index 93ea7f77..00000000 --- a/tests/data/disconnected_dag_edges.csv +++ /dev/null @@ -1,21 +0,0 @@ -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/empty_graph_edges.csv b/tests/data/empty_graph_edges.csv deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/data/hub_connected_hubspoke_edges_directed.csv b/tests/data/hub_connected_hubspoke_edges_directed.csv deleted file mode 100644 index 41c2338a..00000000 --- a/tests/data/hub_connected_hubspoke_edges_directed.csv +++ /dev/null @@ -1,28 +0,0 @@ -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 deleted file mode 100644 index f60b8135..00000000 --- a/tests/data/hubspoke_connected_spoke_edges.csv +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 5b71b79b..00000000 --- a/tests/data/hubspoke_edges.csv +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 06ed1d7f..00000000 --- a/tests/data/line_edges.csv +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index f60b8135..00000000 --- a/tests/data/mulithub_shared_spoke_edges.csv +++ /dev/null @@ -1,22 +0,0 @@ -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/ring_edges.csv b/tests/data/ring_edges.csv deleted file mode 100644 index d48e4003..00000000 --- a/tests/data/ring_edges.csv +++ /dev/null @@ -1,20 +0,0 @@ -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 deleted file mode 100644 index e715ae8b..00000000 --- a/tests/data/tree_edges.csv +++ /dev/null @@ -1,19 +0,0 @@ -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