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

@echo off
@set PATH=..\..\;..\..\x64\Release;..\..\x64\Debug;%PATH%
echo Test Case: 1
time<enter
"truck.exe" <"truck1.in" >"_tmpout"
time<enter
fc "_tmpout" "truck1.out" /W
pause
del _tmpout
echo.
echo Test Case: 2
time<enter
"truck.exe" <"truck2.in" >"_tmpout"
time<enter
fc "_tmpout" "truck2.out" /W
pause
del _tmpout
echo.
echo Test Case: 3
time<enter
"truck.exe" <"truck3.in" >"_tmpout"
time<enter
fc "_tmpout" "truck3.out" /W
pause
del _tmpout
echo.
echo Test Case: 4
time<enter
"truck.exe" <"truck4.in" >"_tmpout"
time<enter
fc "_tmpout" "truck4.out" /W
pause
del _tmpout
echo.
echo Test Case: 5
time<enter
"truck.exe" <"truck5.in" >"_tmpout"
time<enter
fc "_tmpout" "truck5.out" /W
pause
del _tmpout
echo.
echo Test Case: 6
time<enter
"truck.exe" <"truck6.in" >"_tmpout"
time<enter
fc "_tmpout" "truck6.out" /W
pause
del _tmpout
echo.
echo Test Case: 7
time<enter
"truck.exe" <"truck7.in" >"_tmpout"
time<enter
fc "_tmpout" "truck7.out" /W
pause
del _tmpout
echo.
echo Test Case: 8
time<enter
"truck.exe" <"truck8.in" >"_tmpout"
time<enter
fc "_tmpout" "truck8.out" /W
pause
del _tmpout
echo.
echo Test Case: 9
time<enter
"truck.exe" <"truck9.in" >"_tmpout"
time<enter
fc "_tmpout" "truck9.out" /W
pause
del _tmpout
echo.
echo Test Case: 10
time<enter
"truck.exe" <"truck10.in" >"_tmpout"
time<enter
fc "_tmpout" "truck10.out" /W
pause
del _tmpout
echo.
echo Test Case: 11
time<enter
"truck.exe" <"truck11.in" >"_tmpout"
time<enter
fc "_tmpout" "truck11.out" /W
pause
del _tmpout
echo.
echo Test Case: 12
time<enter
"truck.exe" <"truck12.in" >"_tmpout"
time<enter
fc "_tmpout" "truck12.out" /W
pause
del _tmpout
echo.
echo Test Case: 13
time<enter
"truck.exe" <"truck13.in" >"_tmpout"
time<enter
fc "_tmpout" "truck13.out" /W
pause
del _tmpout
echo.
echo Test Case: 14
time<enter
"truck.exe" <"truck14.in" >"_tmpout"
time<enter
fc "_tmpout" "truck14.out" /W
pause
del _tmpout
echo.
echo Test Case: 15
time<enter
"truck.exe" <"truck15.in" >"_tmpout"
time<enter
fc "_tmpout" "truck15.out" /W
pause
del _tmpout
echo.
echo Test Case: 16
time<enter
"truck.exe" <"truck16.in" >"_tmpout"
time<enter
fc "_tmpout" "truck16.out" /W
pause
del _tmpout
echo.
echo Test Case: 17
time<enter
"truck.exe" <"truck17.in" >"_tmpout"
time<enter
fc "_tmpout" "truck17.out" /W
pause
del _tmpout
echo.
echo Test Case: 18
time<enter
"truck.exe" <"truck18.in" >"_tmpout"
time<enter
fc "_tmpout" "truck18.out" /W
pause
del _tmpout
echo.
echo Test Case: 19
time<enter
"truck.exe" <"truck19.in" >"_tmpout"
time<enter
fc "_tmpout" "truck19.out" /W
pause
del _tmpout
echo.
echo Test Case: 20
time<enter
"truck.exe" <"truck20.in" >"_tmpout"
time<enter
fc "_tmpout" "truck20.out" /W
pause
del _tmpout
echo.