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.4 KiB
Batchfile

@echo off
@set PATH=..\..\;%PATH%
echo Test Case: 1
time<enter
"scholar.exe" <"scholar1.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar1.out" /W
pause
del _tmpout
echo.
echo Test Case: 2
time<enter
"scholar.exe" <"scholar2.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar2.out" /W
pause
del _tmpout
echo.
echo Test Case: 3
time<enter
"scholar.exe" <"scholar3.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar3.out" /W
pause
del _tmpout
echo.
echo Test Case: 4
time<enter
"scholar.exe" <"scholar4.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar4.out" /W
pause
del _tmpout
echo.
echo Test Case: 5
time<enter
"scholar.exe" <"scholar5.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar5.out" /W
pause
del _tmpout
echo.
echo Test Case: 6
time<enter
"scholar.exe" <"scholar6.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar6.out" /W
pause
del _tmpout
echo.
echo Test Case: 7
time<enter
"scholar.exe" <"scholar7.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar7.out" /W
pause
del _tmpout
echo.
echo Test Case: 8
time<enter
"scholar.exe" <"scholar8.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar8.out" /W
pause
del _tmpout
echo.
echo Test Case: 9
time<enter
"scholar.exe" <"scholar9.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar9.out" /W
pause
del _tmpout
echo.
echo Test Case: 10
time<enter
"scholar.exe" <"scholar10.in" >"_tmpout"
time<enter
fc "_tmpout" "scholar10.out" /W
pause
del _tmpout
echo.