()
| 240 | |
| 241 | |
| 242 | def test_method_vectorization(): |
| 243 | o = m.VectorizeTestClass(3) |
| 244 | x = np.array([1, 2], dtype="int") |
| 245 | y = np.array([[10], [20]], dtype="float32") |
| 246 | assert np.all(o.method(x, y) == [[14, 15], [24, 25]]) |
| 247 | |
| 248 | |
| 249 | def test_array_collapse(): |
nothing calls this directly
no test coverage detected