(self)
| 398 | assert_equal(linspace(one, five), linspace(1, 5)) |
| 399 | |
| 400 | def test_denormal_numbers(self): |
| 401 | # Regression test for gh-5437. Will probably fail when compiled |
| 402 | # with ICC, which flushes denormals to zero |
| 403 | for ftype in sctypes['float']: |
| 404 | stop = nextafter(ftype(0), ftype(1)) * 5 # A denormal number |
| 405 | assert_(any(linspace(0, stop, 10, endpoint=False, dtype=ftype))) |
| 406 | |
| 407 | def test_equivalent_to_arange(self): |
| 408 | for j in range(1000): |