Searched refs:assert_eq (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | SkNxTest.cpp | 30 auto assert_eq = [&](const SkNx<N, float>& v, float a, float b, float c, float d) { in test_Nf() local 41 assert_eq(a, 3, 4, 5, 6); in test_Nf() 42 assert_eq(b, 3, 4, 5, 6); in test_Nf() 43 assert_eq(c, 3, 4, 5, 6); in test_Nf() 44 assert_eq(d, 3, 4, 5, 6); in test_Nf() 46 assert_eq(a+b, 6, 8, 10, 12); in test_Nf() 47 assert_eq(a*b, 9, 16, 25, 36); in test_Nf() 48 assert_eq(a*b-b, 6, 12, 20, 30); in test_Nf() 49 assert_eq((a*b).sqrt(), 3, 4, 5, 6); in test_Nf() 50 assert_eq(a/b, 1, 1, 1, 1); in test_Nf() [all …]
|
D | PDFPrimitivesTest.cpp | 65 static void assert_eq(skiatest::Reporter* reporter, in assert_eq() function 77 assert_eq(reporter, result, string); in assert_emit_eq() 155 assert_eq(reporter, result, "[1 0 R]"); in TestObjectRef() 274 assert_eq(reporter, result, in TestPDFArray() 337 assert_eq(reporter, result, "<</Type /DType\n/n1 1 0 R>>"); in TestPDFDict()
|