MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / TEST

Function TEST

dependencies/hueplusplus-1.0.0/test/test_Sensor.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60TEST(Alert, alertFromString)
61{
62 EXPECT_EQ(Alert::none, alertFromString("none"));
63 EXPECT_EQ(Alert::select, alertFromString("select"));
64 EXPECT_EQ(Alert::lselect, alertFromString("lselect"));
65 EXPECT_EQ(Alert::none, alertFromString("anything"));
66}
67
68TEST(Alert, alertToString)
69{

Callers

nothing calls this directly

Calls 2

alertFromStringFunction · 0.85
alertToStringFunction · 0.85

Tested by

no test coverage detected