|
@ -24,8 +24,7 @@ int main() |
|
|
{ |
|
|
{ |
|
|
if (goodTests == totalTests) printf("All %u tests succeeded." ENDL, totalTests); |
|
|
if (goodTests == totalTests) printf("All %u tests succeeded." ENDL, totalTests); |
|
|
else printf("ERROR: Only %u/%u tests succeeded. %u tests failed." ENDL, goodTests, totalTests, totalTests - goodTests); |
|
|
else printf("ERROR: Only %u/%u tests succeeded. %u tests failed." ENDL, goodTests, totalTests, totalTests - goodTests); |
|
|
#if defined _WIN32 |
|
|
puts("Press any key to continue..."); |
|
|
system("pause"); |
|
|
fgetc(stdin); |
|
|
#endif // _WIN32
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |