Example #1
0
def test_linear_is_normal(term):
    hypothesis.assume(is_linear(term))
    assert is_normal(term)
Example #2
0
def test_linear_is_normal(code):
    hypothesis.assume(is_linear(code))
    assert is_normal(code)
Example #3
0
def test_is_linear(term, expected):
    assert is_linear(term) is expected
Example #4
0
def test_is_linear(code, expected):
    assert is_linear(code) is expected