Searched refs:ClampTest (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | Size_test.cpp | 156 void ClampTest(T input, U expected) { in ClampTest() function 182 ClampTest(std::numeric_limits<int8_t>::max(), std::numeric_limits<int8_t>::max()); in TEST() 183 ClampTest(int8_t(0), int8_t(0)); in TEST() 184 ClampTest(std::numeric_limits<int8_t>::lowest(), std::numeric_limits<int8_t>::lowest()); in TEST() 188 ClampTest(std::numeric_limits<float>::max(), std::numeric_limits<int32_t>::max()); in TEST() 189 ClampTest(nexttowardf(std::numeric_limits<int32_t>::max(), std::numeric_limits<float>::max()), in TEST() 191 ClampTest(static_cast<float>(std::numeric_limits<int32_t>::max()), in TEST() 193 ClampTest(nexttowardf(std::numeric_limits<int32_t>::max(), 0), in TEST() 195 ClampTest(float(0), int32_t(0)); in TEST() 196 ClampTest(nexttowardf(std::numeric_limits<int32_t>::lowest(), 0), in TEST() [all …]
|