(self)
| 2494 | assert_array_strict_equal(ac, act) |
| 2495 | |
| 2496 | def test_simple_int64_out(self): |
| 2497 | # Test native int32 input with int32 scalar min/max and int64 out. |
| 2498 | a = self._generate_int32_data(self.nr, self.nc) |
| 2499 | m = np.int32(-1) |
| 2500 | M = np.int32(1) |
| 2501 | ac = np.zeros(a.shape, dtype=np.int64) |
| 2502 | act = ac.copy() |
| 2503 | self.fastclip(a, m, M, ac) |
| 2504 | self.clip(a, m, M, act) |
| 2505 | assert_array_strict_equal(ac, act) |
| 2506 | |
| 2507 | def test_simple_int64_inout(self): |
| 2508 | # Test native int32 input with double array min/max and int32 out. |
nothing calls this directly
no test coverage detected