(self)
| 2379 | assert_equal(actual, expected) |
| 2380 | |
| 2381 | def test_simple_double(self): |
| 2382 | # Test native double input with scalar min/max. |
| 2383 | a = self._generate_data(self.nr, self.nc) |
| 2384 | m = 0.1 |
| 2385 | M = 0.6 |
| 2386 | ac = self.fastclip(a, m, M) |
| 2387 | act = self.clip(a, m, M) |
| 2388 | assert_array_strict_equal(ac, act) |
| 2389 | |
| 2390 | def test_simple_int(self): |
| 2391 | # Test native int input with scalar min/max. |
nothing calls this directly
no test coverage detected