| Index: tests/PathOpsLineParametetersTest.cpp
|
| diff --git a/tests/PathOpsLineParametetersTest.cpp b/tests/PathOpsLineParametetersTest.cpp
|
| index c8f8be7699acd5e3798bb7e42c923c06a0e9d7e8..52263826c7d44d431fd99d984068119ba8dd7b82 100644
|
| --- a/tests/PathOpsLineParametetersTest.cpp
|
| +++ b/tests/PathOpsLineParametetersTest.cpp
|
| @@ -4,6 +4,7 @@
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file.
|
| */
|
| +#include "PathOpsTestCommon.h"
|
| #include "SkLineParameters.h"
|
| #include "Test.h"
|
|
|
| @@ -40,6 +41,7 @@ static void PathOpsLineParametersTest(skiatest::Reporter* reporter) {
|
| for (size_t index = 0; index < tests_count; ++index) {
|
| SkLineParameters lineParameters;
|
| const SkDCubic& cubic = tests[index];
|
| + SkASSERT(ValidCubic(cubic));
|
| lineParameters.cubicEndPoints(cubic, 0, 3);
|
| double denormalizedDistance[2];
|
| denormalizedDistance[0] = lineParameters.controlPtDistance(cubic, 1);
|
|
|