@@ -0,0 +1,882 @@
+%22%22%22Tests for the range class.%22%22%22%0A%0Afrom sympy import sympify%0A%0Afrom drudge import Range%0A%0A%0Adef test_range_has_basic_operations():%0A    %22%22%22Test the basic operations on ranges.%22%22%22%0A%0A    a_symb = sympify('a')%0A    b_symb = sympify('b')%0A%0A    bound0 = Range('B', 'a', 'b')%0A    bound1 = Range('B', a_symb, b_symb)%0A    symb0 = Range('S')%0A    symb1 = Range('S')%0A%0A    assert bound0 == bound1%0A    assert hash(bound0) == hash(bound1)%0A    assert symb0 == symb1%0A    assert hash(symb0) == hash(symb1)%0A%0A    assert bound0 != symb0%0A    assert hash(bound0) != hash(symb0)%0A%0A    assert bound0.label == 'B'%0A    assert bound0.lower == a_symb%0A    assert bound0.upper == b_symb%0A    assert bound0.args == (bound1.label, bound1.lower, bound1.upper)%0A%0A    assert symb0.label == 'S'%0A    assert symb0.lower is None%0A    assert symb0.upper is None%0A    assert len(symb0.args) == 1%0A    assert symb0.args%5B0%5D == symb1.label%0A

Add tests for the symbolic ranges