MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / testRightTrim

Function testRightTrim

tests/utils.cc:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34static void testRightTrim()
35{
36 AssertThat(rightTrimWhitespace("string"), Equals("string"));
37 AssertThat(rightTrimWhitespace(" string"), Equals(" string"));
38 AssertThat(rightTrimWhitespace(" string "), Equals(" string"));
39 AssertThat(rightTrimWhitespace("string "), Equals("string"));
40}
41
42static void testTrim()
43{

Callers 1

mainFunction · 0.85

Calls 1

rightTrimWhitespaceFunction · 0.85

Tested by

no test coverage detected