MCPcopy Create free account
hub / github.com/BirolLab/abyss / TEST

Function TEST

Unittest/Common/StringUtilTest.cpp:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3using namespace std;
4
5TEST(chop_test, base_case_2)
6{
7 string myString = "me";
8 EXPECT_EQ((unsigned)2, myString.length());
9 EXPECT_EQ('e', chop(myString));
10 EXPECT_EQ((unsigned)1, myString.length());
11}
12
13TEST(chop_test, trivial_gt_length2)
14{

Callers

nothing calls this directly

Calls 15

chopFunction · 0.85
chompFunction · 0.85
toSIFunction · 0.85
fromSIFunction · 0.85
bytesToSIFunction · 0.85
toEngFunction · 0.85
endsWithFunction · 0.85
SIToBytesFunction · 0.85
type_intMethod · 0.80
type_doubleMethod · 0.80
type_stringMethod · 0.80
failMethod · 0.80

Tested by

no test coverage detected