mirror of https://gitlab.com/rnger/amath
Only show result on error
This commit is contained in:
parent
465ba0e517
commit
820e81e938
|
@ -92,7 +92,7 @@ void Test::PerformTest(const char* input, const char* result, bool show)
|
|||
|
||||
if (buf->Is(result)) {
|
||||
pass++;
|
||||
if (!debug) {
|
||||
if (debug) {
|
||||
printf("PASS: %s\n", show ? result : input);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue