(self)
| 297 | self.assertEqual(b, [1.0, 2.0]) |
| 298 | |
| 299 | def test_linspace(self): |
| 300 | with mx.stream(mx.cpu): |
| 301 | vals = mx.linspace(0, math.pi, 2, mx.float64) |
| 302 | self.assertEqual(vals.tolist()[1], math.pi) |
| 303 | |
| 304 | |
| 305 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected