Searched refs:c32_a (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/codec2/tests/ |
D | C2_test.cpp | 80 constexpr c2_cntr32_t c32_a(123); in c2_cntr_static_test() local 87 …static_assert(std::is_same<decltype(c32_a + c64_a), decltype(c64_a + c32_a)>::value, "+ should res… in c2_cntr_static_test() 88 static_assert(c32_a + c64_a == c2_cntr32_t(-333), "123 + -456 = -333"); in c2_cntr_static_test() 89 static_assert(c32_a + c32_a == c2_cntr32_t(246), "123 + 123 = 246"); in c2_cntr_static_test() 90 static_assert(c64_a + c32_a == c2_cntr32_t(-333), "-456 + 123 = 579"); in c2_cntr_static_test() 91 …static_assert(std::is_same<decltype(c32_a + 1), decltype(1 + c32_a)>::value, "+ should result same… in c2_cntr_static_test() 92 static_assert(c32_a + 456 == c2_cntr32_t(579), "123 + 456 = 579"); in c2_cntr_static_test() 94 …static_assert(std::is_same<decltype(c32_a - c64_a), decltype(c64_a - c32_a)>::value, "- should res… in c2_cntr_static_test() 95 static_assert(c32_a - c64_a == c2_cntr32_t(579), "123 - -456 = 579"); in c2_cntr_static_test() 96 static_assert(c32_a - c32_a == c2_cntr32_t(0), "123 - 123 = 0"); in c2_cntr_static_test() [all …]
|