File size: 421 Bytes
2f1dfc1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import numpy as np
import pytest
from scipy.special import _test_internal
@pytest.mark.skipif(not _test_internal.have_fenv(), reason="no fenv()")
def test_add_round_up():
np.random.seed(1234)
_test_internal.test_add_round(10**5, 'up')
@pytest.mark.skipif(not _test_internal.have_fenv(), reason="no fenv()")
def test_add_round_down():
np.random.seed(1234)
_test_internal.test_add_round(10**5, 'down')
|