Ejemplo n.º 1
0
def test_log_p_int():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p(1)
Ejemplo n.º 2
0
def test_new_model_log_s():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p(1)
Ejemplo n.º 3
0
def test_log_p_empty_tuple():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p(tuple())
Ejemplo n.º 4
0
def test_log_p_empty_string():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p('')
Ejemplo n.º 5
0
def test_log_p_int():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p(1)
Ejemplo n.º 6
0
def test_log_p_empty_tuple():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p(tuple())
Ejemplo n.º 7
0
def test_log_p_empty_string():
    lm = ARPAModelSimple()
    with pytest.raises(ValueError):
        lm.log_p('')