Lines Matching defs:kTolerance
458 constexpr float kTolerance = 1e-3f;
467 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(leftRotation, fullRotation/2, kTolerance));
468 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(rightRotation, fullRotation/2, kTolerance));
474 constexpr float kTolerance = 1e-3f;
490 (SkScalarNearlyEqual(fullRotation, 2*SK_ScalarPI, kTolerance) ||
491 SkScalarNearlyEqual(fullRotation, 0, kTolerance))) {
496 REPORTER_ASSERT(reporter, std::abs(leftRotation) - kTolerance <= SK_ScalarPI);
497 REPORTER_ASSERT(reporter, std::abs(rightRotation) - kTolerance <= SK_ScalarPI);
503 SkScalarNearlyEqual(fullRotation, SK_ScalarPI, kTolerance))) {
508 kTolerance));
510 kTolerance));