Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: tests/PathOpsDLineTest.cpp

Issue 1002693002: pathops version two (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix arm 64 inspired coincident handling Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/PathOpsCubicToQuadsTest.cpp ('k') | tests/PathOpsDPointTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PathOpsDLineTest.cpp
diff --git a/tests/PathOpsDLineTest.cpp b/tests/PathOpsDLineTest.cpp
index dd86dd39e3a1e28099fa3c573c561123e3e3b8d4..bfad134f77c593248d93920e8fcd550c222e61c9 100644
--- a/tests/PathOpsDLineTest.cpp
+++ b/tests/PathOpsDLineTest.cpp
@@ -43,10 +43,6 @@ DEF_TEST(PathOpsLineUtilities, reporter) {
SkDebugf("%s [%d] expected left\n", __FUNCTION__, index);
REPORTER_ASSERT(reporter, 0);
}
- line2 = line.subDivide(1, 0);
- REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]);
- line2 = SkDLine::SubDivide(pts, 1, 0);
- REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]);
SkDPoint mid = line.ptAtT(.5);
REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX));
REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
« no previous file with comments | « tests/PathOpsCubicToQuadsTest.cpp ('k') | tests/PathOpsDPointTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698