浏览代码

Remove manual sh testing stuff

DricomDragon 5 年之前
父节点
当前提交
6d2d3fb1e3
共有 3 个文件被更改,包括 0 次插入33 次删除
  1. 0 9
      ans.txt
  2. 0 15
      test.sh
  3. 0 9
      test.txt

+ 0 - 9
ans.txt

@@ -1,9 +0,0 @@
-3
--1
-7
-9
-6
-0
-9
-6
-1

+ 0 - 15
test.sh

@@ -1,15 +0,0 @@
-#!/bin/sh
-
-echo "Executing tests ..."
-cat test.txt | ./eval.out > ans.out.txt
-echo "Done."
-echo "Show diff ..."
-diff ans.txt ans.out.txt
-
-# Test equality
-if [ $status ]
-then
-	echo 'All tests are OK.'
-else
-	echo 'Failure !!!'
-fi

+ 0 - 9
test.txt

@@ -1,9 +0,0 @@
-1+2=
-1-2=
-1+2*3=
-(1+2)*3=
-1+2+3=
-(1 - 1) + (2 - 2) =
-1 + 4 * 2 =
-42 / 7 =
-5 / 3 =