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.

183 lines
2.9 KiB
Batchfile

@echo off
@set PATH=..\..\;..\..\x64\Release;..\..\x64\Debug;%PATH%
echo Test Case: 1
time<enter
"landlords.exe" <"landlords1.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords1.out" /W
pause
del _tmpout
echo.
echo Test Case: 2
time<enter
"landlords.exe" <"landlords2.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords2.out" /W
pause
del _tmpout
echo.
echo Test Case: 3
time<enter
"landlords.exe" <"landlords3.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords3.out" /W
pause
del _tmpout
echo.
echo Test Case: 4
time<enter
"landlords.exe" <"landlords4.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords4.out" /W
pause
del _tmpout
echo.
echo Test Case: 5
time<enter
"landlords.exe" <"landlords5.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords5.out" /W
pause
del _tmpout
echo.
echo Test Case: 6
time<enter
"landlords.exe" <"landlords6.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords6.out" /W
pause
del _tmpout
echo.
echo Test Case: 7
time<enter
"landlords.exe" <"landlords7.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords7.out" /W
pause
del _tmpout
echo.
echo Test Case: 8
time<enter
"landlords.exe" <"landlords8.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords8.out" /W
pause
del _tmpout
echo.
echo Test Case: 9
time<enter
"landlords.exe" <"landlords9.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords9.out" /W
pause
del _tmpout
echo.
echo Test Case: 10
time<enter
"landlords.exe" <"landlords10.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords10.out" /W
pause
del _tmpout
echo.
echo Test Case: 11
time<enter
"landlords.exe" <"landlords11.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords11.out" /W
pause
del _tmpout
echo.
echo Test Case: 12
time<enter
"landlords.exe" <"landlords12.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords12.out" /W
pause
del _tmpout
echo.
echo Test Case: 13
time<enter
"landlords.exe" <"landlords13.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords13.out" /W
pause
del _tmpout
echo.
echo Test Case: 14
time<enter
"landlords.exe" <"landlords14.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords14.out" /W
pause
del _tmpout
echo.
echo Test Case: 15
time<enter
"landlords.exe" <"landlords15.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords15.out" /W
pause
del _tmpout
echo.
echo Test Case: 16
time<enter
"landlords.exe" <"landlords16.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords16.out" /W
pause
del _tmpout
echo.
echo Test Case: 17
time<enter
"landlords.exe" <"landlords17.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords17.out" /W
pause
del _tmpout
echo.
echo Test Case: 18
time<enter
"landlords.exe" <"landlords18.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords18.out" /W
pause
del _tmpout
echo.
echo Test Case: 19
time<enter
"landlords.exe" <"landlords19.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords19.out" /W
pause
del _tmpout
echo.
echo Test Case: 20
time<enter
"landlords.exe" <"landlords20.in" >"_tmpout"
time<enter
fc "_tmpout" "landlords20.out" /W
pause
del _tmpout
echo.