You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
1.3 KiB
Batchfile

@echo off
@set PATH=..\..\;%PATH%
echo Test Case: 1
time<enter
"fruit.exe" <"fruit1.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit1.out" /W
pause
del _tmpout
echo.
echo Test Case: 2
time<enter
"fruit.exe" <"fruit2.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit2.out" /W
pause
del _tmpout
echo.
echo Test Case: 3
time<enter
"fruit.exe" <"fruit3.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit3.out" /W
pause
del _tmpout
echo.
echo Test Case: 4
time<enter
"fruit.exe" <"fruit4.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit4.out" /W
pause
del _tmpout
echo.
echo Test Case: 5
time<enter
"fruit.exe" <"fruit5.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit5.out" /W
pause
del _tmpout
echo.
echo Test Case: 6
time<enter
"fruit.exe" <"fruit6.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit6.out" /W
pause
del _tmpout
echo.
echo Test Case: 7
time<enter
"fruit.exe" <"fruit7.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit7.out" /W
pause
del _tmpout
echo.
echo Test Case: 8
time<enter
"fruit.exe" <"fruit8.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit8.out" /W
pause
del _tmpout
echo.
echo Test Case: 9
time<enter
"fruit.exe" <"fruit9.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit9.out" /W
pause
del _tmpout
echo.
echo Test Case: 10
time<enter
"fruit.exe" <"fruit10.in" >"_tmpout"
time<enter
fc "_tmpout" "fruit10.out" /W
pause
del _tmpout
echo.