#NEWLINE# def test_boundary( ) : #NEWLINE# #INDENT# x = Symbol ( 'x' , real = True ) #NEWLINE# y = Symbol ( 'y' , real = True ) #NEWLINE# assert ( FiniteSet ( 1 ) . boundary == FiniteSet ( 1 ) ) #NEWLINE# assert all ( ( ( Interval ( 0 , 1 , left_open , right_open ) . boundary == FiniteSet ( 0 , 1 ) ) for left_open in ( true , false ) for right_open in ( true , false ) ) )