def test_multiplex(): brl = multiplex(posdec, branch5) assert set(brl(3)) == {2} assert set(brl(7)) == {6, 8} assert set(brl(5)) == {4, 6}
def test_multiplex(): brl = multiplex(posdec, branch5) assert set(brl(3)) == set([2]) assert set(brl(7)) == set([6, 8]) assert set(brl(5)) == set([4, 6])