(self)
| 2456 | assert_array_strict_equal(aM, a) |
| 2457 | |
| 2458 | def test_clip_non_contig(self): |
| 2459 | # Test clip for non contiguous native input and native scalar min/max. |
| 2460 | a = self._generate_data(self.nr * 2, self.nc * 3) |
| 2461 | a = a[::2, ::3] |
| 2462 | assert_(not a.flags['F_CONTIGUOUS']) |
| 2463 | assert_(not a.flags['C_CONTIGUOUS']) |
| 2464 | ac = self.fastclip(a, -1.6, 1.7) |
| 2465 | act = self.clip(a, -1.6, 1.7) |
| 2466 | assert_array_strict_equal(ac, act) |
| 2467 | |
| 2468 | def test_simple_out(self): |
| 2469 | # Test native double input with scalar min/max. |
nothing calls this directly
no test coverage detected