MCPcopy Create free account
hub / github.com/dejwk/roo_display / TEST

Function TEST

test/orientation_test.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10TEST(Orientation, Default) {
11 EXPECT_EQ(Orientation(), Orientation::Default());
12 EXPECT_EQ(Orientation::Default(), Orientation::RightDown());
13}
14
15TEST(Orientation, RightRotations) {
16 Orientation o = Orientation::RightDown();

Callers

nothing calls this directly

Calls 9

OrientationClass · 0.85
TestFlipsFunction · 0.85
TestPropertiesFunction · 0.85
flipHorizontallyMethod · 0.80
rotateRightMethod · 0.45
rotateLeftMethod · 0.45
rotateUpsideDownMethod · 0.45
rotateClockwiseMethod · 0.45

Tested by

no test coverage detected