--- a/testing1/drumb_test2.sh Sun Dec 16 21:43:14 2018 +0000
+++ b/testing1/drumb_test2.sh Tue Dec 18 23:31:45 2018 +0000
@@ -84,8 +84,8 @@
if [ $tsts -eq 0 ]
then
echo -e " val ds = get_deltas(get_prices(List(\"GOOG\", \"AAPL\"), 2010 to 2012))" >> $out
- echo -e " yearly_yield(get_deltas(de, 100, 0) == 125" >> $out
- echo -e " yearly_yield(get_deltas(de, 100, 1) == 117" >> $out
+ echo -e " yearly_yield(get_deltas(ds, 100, 0) == 125" >> $out
+ echo -e " yearly_yield(get_deltas(ds, 100, 1) == 117" >> $out
if (scala_assert "drumb.scala" "drumb_test6.scala")
then
--- a/testing4/postfix_test.sh Sun Dec 16 21:43:14 2018 +0000
+++ b/testing4/postfix_test.sh Tue Dec 18 23:31:45 2018 +0000
@@ -65,10 +65,10 @@
if [ $tsts1 -eq 0 ]
then
- echo -e " syard(split(\"3 + 4 * ( 2 - 1 )\")) == List(\"3\", \"4\", \"2\", \"1\", \"-\", \"*\", \"+\")" >> $out
+ echo -e " syard(split(\"3 + 4 * ( 2 - 1 )\")) == List(\"3\", \"4\", \"2\", \"1\", \"-\", \"\*\", \"+\")" >> $out
echo -e " syard(split(\"( ( ( 3 ) ) + ( ( 4 + ( 5 ) ) ) )\")) == List(\"3\", \"4\", \"5\", \"+\", \"+\")" >> $out
echo -e " syard(split(\"5 + 7 / 2\")) == List(\"5\", \"7\", \"2\", \"/\", \"+\")" >> $out
- echo -e " syard(split(\"5 * 7 / 2\")) == List(\"5\", \"7\", \"*\", \"2\", \"/\")" >> $out
+ echo -e " syard(split(\"5 * 7 / 2\")) == List(\"5\", \"7\", \"\*\", \"2\", \"/\")" >> $out
if (scala_assert "postfix.scala" "postfix_test7.scala")
then
@@ -136,12 +136,12 @@
if [ $tsts1 -eq 0 ]
then
- echo -e " syard(split(\"3 + 4 * ( 2 - 1 )\")) == List(\"3\", \"4\", \"2\", \"1\", \"-\", \"*\", \"+\")" >> $out
+ echo -e " syard(split(\"3 + 4 * ( 2 - 1 )\")) == List(\"3\", \"4\", \"2\", \"1\", \"-\", \"\*\", \"+\")" >> $out
echo -e " syard(split(\"( ( ( 3 ) ) + ( ( 4 + ( 5 ) ) ) )\")) == List(\"3\", \"4\", \"5\", \"+\", \"+\")" >> $out
echo -e " syard(split(\"5 + 7 / 2\")) == List(\"5\", \"7\", \"2\", \"/\", \"+\")" >> $out
- echo -e " syard(split(\"5 * 7 / 2\")) == List(\"5\", \"7\", \"*\", \"2\", \"/\")" >> $out
+ echo -e " syard(split(\"5 * 7 / 2\")) == List(\"5\", \"7\", \"\*\", \"2\", \"/\")" >> $out
echo -e " syard(split(\"3 + 4 * 8 / ( 5 - 1 ) ^ 2 ^ 3\")) == " >> $out
- echo -e " List(\"3\", \"4\", \"8\", \"*\", \"5\", \"1\", \"-\", \"2\", \"3\", \"^\", \"^\", \"/\", \"+\")" >> $out
+ echo -e " List(\"3\", \"4\", \"8\", \"\*\", \"5\", \"1\", \"-\", \"2\", \"3\", \"^\", \"^\", \"/\", \"+\")" >> $out
echo -e " " >> $out
echo -e " compute(syard(split(\"3 + 4 * ( 2 - 1 )\"))) == 7" >> $out
echo -e " compute(syard(split(\"10 + 12 * 33\"))) == 406" >> $out