Searched refs:assert_eq (Results 1 – 1 of 1) sorted by relevance
/external/skia/tests/ |
D | SkNxTest.cpp | 28 auto assert_eq = [&](const SkNf<N,T>& v, T a, T b, T c, T d) { in test_Nf() local 39 assert_eq(a, 3, 4, 5, 6); in test_Nf() 40 assert_eq(b, 3, 4, 5, 6); in test_Nf() 41 assert_eq(c, 3, 4, 5, 6); in test_Nf() 42 assert_eq(d, 3, 4, 5, 6); in test_Nf() 44 assert_eq(a+b, 6, 8, 10, 12); in test_Nf() 45 assert_eq(a*b, 9, 16, 25, 36); in test_Nf() 46 assert_eq(a*b-b, 6, 12, 20, 30); in test_Nf() 47 assert_eq((a*b).sqrt(), 3, 4, 5, 6); in test_Nf() 48 assert_eq(a/b, 1, 1, 1, 1); in test_Nf() [all …]
|