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

Unified Diff: tests/ScaleToSidesTest.cpp

Issue 1717743004: Fix asserts found in SampleApp and update the tests with additional interesting numbers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove include used for debug. Created 4 years, 10 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/SkScaleToSides.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ScaleToSidesTest.cpp
diff --git a/tests/ScaleToSidesTest.cpp b/tests/ScaleToSidesTest.cpp
index 4159ce48fd2929b53d908ec8b161000c684d2821..430bb8cf813da48551965024d7f558510a281f9e 100644
--- a/tests/ScaleToSidesTest.cpp
+++ b/tests/ScaleToSidesTest.cpp
@@ -12,6 +12,13 @@
DEF_TEST(ScaleToSides, reporter) {
double interestingValues[] = {
+ // From sample app - PathFuzzer
+ 260.01662826538085938,
+ 63.61007690429687500,
+ 795.98901367187500000,
+ 217.71697616577148438,
+ 686.15960693359375000,
+ 556.57641601562500000,
// From skp bitbucket
111.60000228881836,
55.800003051757813,
« no previous file with comments | « src/core/SkScaleToSides.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698