shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@7031 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/LineParameteters_Test.cpp b/experimental/Intersection/LineParameteters_Test.cpp
index e8adf33..6d85325 100644
--- a/experimental/Intersection/LineParameteters_Test.cpp
+++ b/experimental/Intersection/LineParameteters_Test.cpp
@@ -53,7 +53,7 @@
distSq *= distSq;
double answersSq = answers[index][inner];
answersSq *= answersSq;
- if (approximately_equal(distSq, normalSquared * answersSq)) {
+ if (AlmostEqualUlps(distSq, normalSquared * answersSq)) {
continue;
}
printf("%s [%d,%d] denormalizedDistance:%g != answer:%g"
@@ -66,8 +66,7 @@
double normalizedDistance[2];
lineParameters.controlPtDistance(cubic, normalizedDistance);
for (inner = 0; inner < 2; ++inner) {
- if (approximately_equal(fabs(normalizedDistance[inner]),
- answers[index][inner])) {
+ if (AlmostEqualUlps(fabs(normalizedDistance[inner]), answers[index][inner])) {
continue;
}
printf("%s [%d,%d] normalizedDistance:%1.10g != answer:%g\n",