Beispiel #1
0
def test_has_outcome3():
    d = ScalarDistribution([1, 0])
    assert not d.has_outcome(2, null=False)
Beispiel #2
0
def test_has_outcome1():
    d = ScalarDistribution([1, 0])
    assert d.has_outcome(1)
Beispiel #3
0
def test_has_outcome1():
    d = ScalarDistribution([1, 0])
    assert_true(d.has_outcome(1))
Beispiel #4
0
def test_has_outcome3():
    d = ScalarDistribution([1, 0])
    assert_false(d.has_outcome(2, null=False))
Beispiel #5
0
def test_has_outcome2():
    d = ScalarDistribution([1, 0])
    assert_false(d.has_outcome(1, null=False))