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

Unified Diff: tests/PathTest.cpp

Issue 676803002: add float equivalent in dumpHex output as comment (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: adjust path test to match additional output Created 6 years, 2 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 | « src/core/SkPath.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PathTest.cpp
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 1f0422d788267567891060f071cbbe6f5c27bcbd..bc3a3d7bdb5874ffbd3156ae309d73f9562b8da3 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -3468,8 +3468,9 @@ static void test_dump(skiatest::Reporter* reporter) {
p.reset();
p.moveTo(1, 2);
p.lineTo(3, 4);
- compare_dump(reporter, p, false, true, "path.moveTo(SkBits2Float(0x3f800000), SkBits2Float(0x40000000));\n"
- "path.lineTo(SkBits2Float(0x40400000), SkBits2Float(0x40800000));\n");
+ compare_dump(reporter, p, false, true,
+ "path.moveTo(SkBits2Float(0x3f800000), SkBits2Float(0x40000000)); // 1, 2\n"
+ "path.lineTo(SkBits2Float(0x40400000), SkBits2Float(0x40800000)); // 3, 4\n");
p.reset();
p.moveTo(SkBits2Float(0x3f800000), SkBits2Float(0x40000000));
p.lineTo(SkBits2Float(0x40400000), SkBits2Float(0x40800000));
« no previous file with comments | « src/core/SkPath.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698