(self)
| 2510 | class TestMeshgrid: |
| 2511 | |
| 2512 | def test_simple(self): |
| 2513 | [X, Y] = meshgrid([1, 2, 3], [4, 5, 6, 7]) |
| 2514 | assert_array_equal(X, np.array([[1, 2, 3], |
| 2515 | [1, 2, 3], |
| 2516 | [1, 2, 3], |
| 2517 | [1, 2, 3]])) |
| 2518 | assert_array_equal(Y, np.array([[4, 4, 4], |
| 2519 | [5, 5, 5], |
| 2520 | [6, 6, 6], |
| 2521 | [7, 7, 7]])) |
| 2522 | |
| 2523 | def test_single_input(self): |
| 2524 | [X] = meshgrid([1, 2, 3, 4]) |
nothing calls this directly
no test coverage detected