Searched refs:kTessellationTolerance (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/tests/ |
D | WangsFormulaTest.cpp | 194 constexpr static float kTessellationTolerance = 1/128.f; in DEF_TEST() local 210 REPORTER_ASSERT(r, SkScalarNearlyEqual(c/referenceValue, 1, kTessellationTolerance)); in DEF_TEST() 216 REPORTER_ASSERT(r, SkScalarNearlyEqual(c/referenceValue, 1, kTessellationTolerance)); in DEF_TEST() 229 REPORTER_ASSERT(r, SkScalarNearlyEqual(q/referenceValue, 1, kTessellationTolerance)); in DEF_TEST() 235 REPORTER_ASSERT(r, SkScalarNearlyEqual(q/referenceValue, 1, kTessellationTolerance)); in DEF_TEST() 245 REPORTER_ASSERT(r, SkScalarNearlyEqual(c/f, 1, kTessellationTolerance)); in DEF_TEST() 253 REPORTER_ASSERT(r, SkScalarNearlyEqual(q/f, 1, kTessellationTolerance)); in DEF_TEST() 405 constexpr static float kTessellationTolerance = 1 / 128.f; in DEF_TEST() local 413 r, SkScalarNearlyEqual(rational_nsegs, integral_nsegs, kTessellationTolerance)); in DEF_TEST()
|