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