(self)
| 2038 | assert_array_strict_equal(ac, act) |
| 2039 | |
| 2040 | def test_simple_inplace_01(self): |
| 2041 | # Test native double input with array min/max in-place. |
| 2042 | a = self._generate_data(self.nr, self.nc) |
| 2043 | ac = a.copy() |
| 2044 | m = np.zeros(a.shape) |
| 2045 | M = 1.0 |
| 2046 | self.fastclip(a, m, M, a) |
| 2047 | self.clip(a, m, M, ac) |
| 2048 | assert_array_strict_equal(a, ac) |
| 2049 | |
| 2050 | def test_simple_inplace_02(self): |
| 2051 | # Test native double input with scalar min/max in-place. |
nothing calls this directly
no test coverage detected