MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getNbPassedTests

Method getNbPassedTests

test/TestSuite.cpp:38–48  ·  view source on GitHub ↗

Return the number of passed tests

Source from the content-addressed store, hash-verified

36
37// Return the number of passed tests
38long TestSuite::getNbPassedTests() const {
39
40 long nbPassedTests = 0;
41
42 for (size_t i=0; i<mTests.size(); i++) {
43 assert(mTests[i]);
44 nbPassedTests += mTests[i]->getNbPassedTests();
45 }
46
47 return nbPassedTests;
48}
49
50// Return the number of failed tests
51long TestSuite::getNbFailedTests() const {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected