| 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 "gradients/SkClampRange.h" | 9 #include "gradients/SkClampRange.h" |
| 10 #include "SkRandom.h" | 10 #include "SkRandom.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 SkFixed fx = rand.nextS(); | 123 SkFixed fx = rand.nextS(); |
| 124 SkFixed dx = rand.nextS(); | 124 SkFixed dx = rand.nextS(); |
| 125 int count = rand.nextU() % 1000 + 1; | 125 int count = rand.nextU() % 1000 + 1; |
| 126 test_range(fx, dx, count); | 126 test_range(fx, dx, count); |
| 127 } | 127 } |
| 128 } | 128 } |
| 129 | 129 |
| 130 #ifdef USE_REPORTER | 130 #ifdef USE_REPORTER |
| 131 | 131 |
| 132 #include "TestClassDef.h" | 132 #include "TestClassDef.h" |
| 133 DEFINE_TESTCLASS("ClampRange", ClampRangeClass, TestClampRange) | 133 DEFINE_TESTCLASS_SHORT(TestClampRange) |
| 134 | 134 |
| 135 #endif | 135 #endif |
| OLD | NEW |