aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsDLineTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-03-24 07:28:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-24 07:28:17 -0700
commitccec0f958ffc71a9986d236bc2eb335cb2111119 (patch)
treef864209e3594293256ac391715d50222ff22d96b /tests/PathOpsDLineTest.cpp
parent62a320c8d444cd04e4f2952c269ea4cbd58dee64 (diff)
pathops version two
R=reed@google.com marked 'no commit' to attempt to get trybots to run TBR=reed@google.com Review URL: https://codereview.chromium.org/1002693002
Diffstat (limited to 'tests/PathOpsDLineTest.cpp')
-rw-r--r--tests/PathOpsDLineTest.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/PathOpsDLineTest.cpp b/tests/PathOpsDLineTest.cpp
index dd86dd39e3..bfad134f77 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));