MCPcopy Create free account
hub / github.com/cpputest/cpputest / TEST

Function TEST

examples/AllTests/PrinterTest.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45};
46
47TEST(Printer, PrintConstCharStar)
48{
49 printer->Print("hello");
50 printer->Print("hello\n");
51 const char* expected = "hellohello\n";
52 CHECK_EQUAL(expected, mockPrinter->getOutput());
53}
54
55TEST(Printer, PrintLong)
56{

Callers

nothing calls this directly

Calls 2

getOutputMethod · 0.80
PrintMethod · 0.45

Tested by

no test coverage detected