1@ECHO OFF 2 3if not exist testdata mkdir testdata 4rem copy additional tests 5if not exist testdata\baseconv.decTest copy /y testdata_dist\* testdata 6 7if exist testdata\add.decTest goto OUT 8 9rem get official tests 10if exist dectest.zip goto UNZIP 11powershell -Command "wget http://speleotrove.com/decimal/dectest.zip -outfile dectest.zip" 12 13:UNZIP 14powershell -Command "Expand-Archive dectest.zip -DestinationPath testdata" 15 16:OUT 17