Lines Matching refs:Temperature
97 enum Temperature : int { enum
106 static_assert(ftl::enum_begin_v<Temperature> == kFreezer);
107 static_assert(ftl::enum_last_v<Temperature> == kRoom);
108 static_assert(ftl::enum_size_v<Temperature> == 39);
152 EXPECT_EQ(ftl::enum_name(static_cast<Temperature>(-30)), std::nullopt); in TEST()
153 EXPECT_EQ(ftl::enum_name(static_cast<Temperature>(0)), std::nullopt); in TEST()
154 EXPECT_EQ(ftl::enum_name(static_cast<Temperature>(100)), std::nullopt); in TEST()
156 EXPECT_EQ(ftl::enum_name_full(static_cast<Temperature>(-30)), std::nullopt); in TEST()
157 EXPECT_EQ(ftl::enum_name_full(static_cast<Temperature>(0)), std::nullopt); in TEST()
158 EXPECT_EQ(ftl::enum_name_full(static_cast<Temperature>(100)), std::nullopt); in TEST()
202 EXPECT_EQ(ftl::enum_string(static_cast<Temperature>(-30)), "-30"); in TEST()
203 EXPECT_EQ(ftl::enum_string(static_cast<Temperature>(0)), "0"); in TEST()
204 EXPECT_EQ(ftl::enum_string(static_cast<Temperature>(100)), "100"); in TEST()
206 EXPECT_EQ(ftl::enum_string_full(static_cast<Temperature>(-30)), "-30"); in TEST()
207 EXPECT_EQ(ftl::enum_string_full(static_cast<Temperature>(0)), "0"); in TEST()
208 EXPECT_EQ(ftl::enum_string_full(static_cast<Temperature>(100)), "100"); in TEST()