#NEWLINE# def test_value( self ) : #NEWLINE# #INDENT# '\n        The value of the L{FlagConstant} which results from C{~} has all of the\n        bits set which were not set in the original constant.\n        ' #NEWLINE# flag = ( ~ self . FXF . READ ) #NEWLINE# self . assertEqual ( ( ( ( self . FXF . WRITE . value | self . FXF . APPEND . value ) | self . FXF . EXCLUSIVE . value ) | self . FXF . TEXT . value ) , flag . value ) #NEWLINE# flag = ( ~ self . FXF . WRITE ) #NEWLINE# self . assertEqual ( ( ( ( self . FXF . READ . value | self . FXF . APPEND . value ) | self . FXF . EXCLUSIVE . value ) | self . FXF . TEXT . value ) , flag . value )