--- a/main_testing2/danube_test.sh Mon Nov 08 01:16:13 2021 +0000
+++ b/main_testing2/danube_test.sh Mon Nov 08 01:39:00 2021 +0000
@@ -113,9 +113,9 @@
if (scala_assert "danube.scala" "danube_test3.scala")
then
- echo -e -e " --> success" >> $out
+ echo -e " --> success" >> $out
else
- echo -e -e " --> ONE OF THE TESTS FAILED\n" >> $out
+ echo -e " --> ONE OF THE TESTS FAILED\n" >> $out
fi
fi
@@ -173,23 +173,5 @@
fi
fi
-### danube most_recommended 1
-if [ $tsts -eq 0 ]
-then
- echo -e " val rmap = Map(\"1\" -> List(\"b\", \"a\"), " >> $out
- echo -e " \"2\" -> List(\"y\", \"x\"), " >> $out
- echo -e " \"3\" -> List(\"c\", \"a\")) " >> $out
- echo -e " val nmap = Map(\"a\" -> \"A\", \"b\" -> \"B\", \"c\" -> \"C\", " >> $out
- echo -e " \"x\" -> \"X\", \"y\" -> \"Y\") " >> $out
- echo -e " most_recommended(rmap, nmap).toSet == " >> $out
- echo -e " Set((\"A\",2), (\"B\",1), (\"C\",1), (\"X\",1), (\"Y\",1)) " >> $out
- if (scala_assert "danube.scala" "danube_test7.scala")
- then
- echo -e " --> success" >> $out
- else
- echo -e " --> ONE OF THE TESTS FAILED\n" >> $out
- fi
-fi
-