|
|
numberOfFailedTests
remains zero forever.numberOfFailedTests + 1;
has no effect. Don't forget to assign the computed value back to numberOfFailedTests
.numberOfFailedTests = numberOfFailedTests + 1;
numberOfFailedTests++;
and numberOfFailedTests += 1;
are both equivalent.