From fe6a7d88c788f51111c11494a46115e8105f1884 Mon Sep 17 00:00:00 2001 From: josch Date: Fri, 1 Mar 2013 16:56:14 +0100 Subject: [PATCH] enable networkx submodule --- test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.sh b/test.sh index 5cfad73..6e3f354 100755 --- a/test.sh +++ b/test.sh @@ -20,6 +20,7 @@ for f in *.dot; do result_hawick=$(./hawick/circuits_hawick $num_vertices $(echo $adj_list)) result_meyer=$(java -classpath ./meyer de.normalisiert.utils.graphs.TestCycles $num_vertices $(echo $adj_list)) result_tarjan=$(python ./tarjan/cycles.py $num_vertices $(echo $adj_list)) + result_networkx=$(python ./networkx/cycles.py $num_vertices $(echo $adj_list)) result_abate_iter=$(./abate/cycles_iter.native $num_vertices $(echo $adj_list)) result_abate_func=$(./abate/cycles_functional.native $num_vertices $(echo $adj_list)) @@ -39,6 +40,10 @@ for f in *.dot; do echo error: hawick differs from abate_func exit 1 fi + if [ "$result_hawick" != "$result_networkx" ]; then + echo error: hawick differs from networkx + exit 1 + fi echo $f okay, $(echo "$result_hawick" | wc -l) cycles counter=$((counter+1)) done