MCPcopy Create free account
hub / github.com/Samsung/rlottie / TEST_F

Function TEST_F

test/test_vpath.cpp:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41TEST_F(VPathTest, emptyPath) {
42 ASSERT_EQ(sizeof(pathEmpty), sizeof(void *));
43 ASSERT_TRUE(pathEmpty.empty());
44 ASSERT_FALSE(pathEmpty.segments());
45 ASSERT_EQ(pathEmpty.segments() , 0);
46 ASSERT_EQ(pathEmpty.elements().size() , 0);
47 ASSERT_EQ(pathEmpty.elements().capacity() , pathEmpty.elements().size());
48 ASSERT_EQ(pathEmpty.points().size() , 0);
49 ASSERT_EQ(pathEmpty.points().capacity() , pathEmpty.points().size());
50}
51
52TEST_F(VPathTest, reset) {
53 pathRect.reset();

Callers

nothing calls this directly

Calls 10

segmentsMethod · 0.60
emptyMethod · 0.45
sizeMethod · 0.45
resetMethod · 0.45
reserveMethod · 0.45
cloneMethod · 0.45
uniqueMethod · 0.45
dataMethod · 0.45
addRectMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected