コード例 #1
0
def test_formula_string5():
    assert sat._formula_str(["a", ["b", ["c", "d"]]]) == "(a & (b | (c & d)))"
コード例 #2
0
def test_formula_string4():
    assert sat._formula_str(["a", ["b", "c"]]) == "(a & (b | c))"
コード例 #3
0
def test_formula_string2():
    assert sat._formula_str(["a", "b"]) == "(a & b)"
コード例 #4
0
def test_formula_string3():
    assert sat._formula_str(["a", ["b"]]) == "(a & (b))"
コード例 #5
0
def test_formula_string1():
    assert sat._formula_str(["a"]) == "(a)"