示例#1
0
def test_et_2(val):
    """
    Test EntropyTriangle against known values.
    """
    et = EntropyTriangle2([ex1, ex2, ex3, ex4])
    assert val in et.points
示例#2
0
def test_et2_1(d, val):
    """
    Test EntropyTriangle2 against known values.
    """
    assert EntropyTriangle2(d).points[0] == val