(self)
| 69 | class TestLogspace: |
| 70 | |
| 71 | def test_basic(self): |
| 72 | y = logspace(0, 6) |
| 73 | assert_(len(y) == 50) |
| 74 | y = logspace(0, 6, num=100) |
| 75 | assert_(y[-1] == 10 ** 6) |
| 76 | y = logspace(0, 6, endpoint=False) |
| 77 | assert_(y[-1] < 10 ** 6) |
| 78 | y = logspace(0, 6, num=7) |
| 79 | assert_array_equal(y, [1, 10, 100, 1e3, 1e4, 1e5, 1e6]) |
| 80 | |
| 81 | def test_start_stop_array(self): |
| 82 | start = array([0., 1.]) |
nothing calls this directly
no test coverage detected