MCPcopy Create free account
hub / github.com/Compaile/ctrack / addTime

Method addTime

test/doctest.h:5795–5800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5793 }
5794
5795 void addTime(double time) {
5796 if(time < 1e-4)
5797 time = 0;
5798 testcases.back().time = time;
5799 totalSeconds += time;
5800 }
5801
5802 void addFailure(const std::string& message, const std::string& type, const std::string& details) {
5803 testcases.back().failures.emplace_back(message, type, details);

Callers 2

test_case_reenterMethod · 0.80
test_case_endMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected