(self)
| 2005 | assert_array_strict_equal(ac, act) |
| 2006 | |
| 2007 | def test_simple_int64_out(self): |
| 2008 | # Test native int32 input with int32 scalar min/max and int64 out. |
| 2009 | a = self._generate_int32_data(self.nr, self.nc) |
| 2010 | m = np.int32(-1) |
| 2011 | M = np.int32(1) |
| 2012 | ac = np.zeros(a.shape, dtype=np.int64) |
| 2013 | act = ac.copy() |
| 2014 | self.fastclip(a, m, M, ac) |
| 2015 | self.clip(a, m, M, act) |
| 2016 | assert_array_strict_equal(ac, act) |
| 2017 | |
| 2018 | def test_simple_int64_inout(self): |
| 2019 | # Test native int32 input with double array min/max and int32 out. |
nothing calls this directly
no test coverage detected