OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "Test.h" | 8 #include "Test.h" |
9 #include "SkRandom.h" | 9 #include "SkRandom.h" |
10 #include <math.h> | 10 #include <math.h> |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 if (SkAbs32(diff) > 1) { | 193 if (SkAbs32(diff) > 1) { |
194 SkDebugf(" %d === numer %g denom %g div %g xdiv %x fxdiv %x\n", | 194 SkDebugf(" %d === numer %g denom %g div %g xdiv %x fxdiv %x\n", |
195 i, dnumer, ddenom, ddiv, dfixdiv, fixdiv); | 195 i, dnumer, ddenom, ddiv, dfixdiv, fixdiv); |
196 } | 196 } |
197 REPORTER_ASSERT(reporter, SkAbs32(diff) <= 1); | 197 REPORTER_ASSERT(reporter, SkAbs32(diff) <= 1); |
198 } | 198 } |
199 #endif | 199 #endif |
200 } | 200 } |
201 | 201 |
202 #include "TestClassDef.h" | 202 #include "TestClassDef.h" |
203 DEFINE_TESTCLASS("Sk64", Sk64TestClass, TestSk64) | 203 DEFINE_TESTCLASS_SHORT(TestSk64) |
OLD | NEW |