Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍
https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
import numpy as np
|
|
import pytest
|
|
|
|
from scipy.special import _test_round
|
|
|
|
|
|
@pytest.mark.skipif(not _test_round.have_fenv(), reason="no fenv()")
|
|
def test_add_round_up():
|
|
np.random.seed(1234)
|
|
_test_round.test_add_round(10**5, 'up')
|
|
|
|
|
|
@pytest.mark.skipif(not _test_round.have_fenv(), reason="no fenv()")
|
|
def test_add_round_down():
|
|
np.random.seed(1234)
|
|
_test_round.test_add_round(10**5, 'down')
|
|
|