MCPcopy Create free account
hub / github.com/MikeMirzayanov/testlib / setTestCase

Method setTestCase

testlib.h:1805–1809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1803 }
1804
1805 void setTestCase(int testCase) {
1806 if (testCase < 0 || testCase > __TESTLIB_MAX_TEST_CASE)
1807 __testlib_fail(format("testCase expected fit in [1,%d], but %d doesn't", __TESTLIB_MAX_TEST_CASE, testCase));
1808 readChars.push_back(testCase + 256);
1809 }
1810
1811 std::vector<int> getReadChars() {
1812 return readChars;

Callers

nothing calls this directly

Calls 2

__testlib_failFunction · 0.70
formatFunction · 0.70

Tested by

no test coverage detected