#NEWLINE# def test_Eq( ) : #NEWLINE# #INDENT# assert Eq ( Interval ( 0 , 1 ) , Interval ( 0 , 1 ) ) #NEWLINE# assert ( Eq ( Interval ( 0 , 1 ) , Interval ( 0 , 2 ) ) == False ) #NEWLINE# s1 = FiniteSet ( 0 , 1 ) #NEWLINE# s2 = FiniteSet ( 1 , 2 ) #NEWLINE# assert Eq ( s1 , s1 ) #NEWLINE# assert ( Eq ( s1 , s2 ) == False ) #NEWLINE# assert Eq ( ( s1 * s2 ) , ( s1 * s2 ) ) #NEWLINE# assert ( Eq ( ( s1 * s2 ) , ( s2 * s1 ) ) == False )