def test_lines(self): range = Range(1, 3) assert range == Range((1, 3)) assert range.toLineTuples() == (1, 3) assert not range.isInverse() assert range.isLines() assert range.isTwoLines() range.assertLines() range.assertTwoLines()
def test_line(self): range = Range(3) assert range == Range(3, 3) assert range.upperY() == 3 assert range.lowerY() == 3 assert range.toLineTuples() == (3, 3) assert not range.isInverse() assert range.isLines() assert range.isOneLine() range.assertLines() range.assertOneLine()