(self)
| 279 | self.assertLazyAndAllClose(np.sin(u), xu.sin(v)) |
| 280 | |
| 281 | def test_bivariate_xufunc(self): |
| 282 | u = self.eager_var |
| 283 | v = self.lazy_var |
| 284 | self.assertLazyAndAllClose(np.maximum(u, 0), xu.maximum(v, 0)) |
| 285 | self.assertLazyAndAllClose(np.maximum(u, 0), xu.maximum(0, v)) |
| 286 | |
| 287 | def test_compute(self): |
| 288 | u = self.eager_var |
nothing calls this directly
no test coverage detected