#NEWLINE# def test_simple( self ) : #NEWLINE# #INDENT# loads = self . get_loads ( ) #NEWLINE# obj = loads ( ARFF ) #NEWLINE# self . assertEqual ( obj [ 'description' ] , 'XOR Dataset' ) #NEWLINE# self . assertEqual ( obj [ 'relation' ] , 'XOR' ) #NEWLINE# self . assertEqual ( obj [ 'attributes' ] [ 0 ] [ 0 ] , 'input1' ) #NEWLINE# self . assertEqual ( obj [ 'attributes' ] [ 0 ] [ 1 ] , 'REAL' ) #NEWLINE# self . assertEqual ( obj [ 'data' ] [ 0 ] [ 0 ] , 0.0 ) #NEWLINE# self . assertEqual ( obj [ 'data' ] [ 0 ] [ 1 ] , 0.0 ) #NEWLINE# self . assertEqual ( obj [ 'data' ] [ 0 ] [ 2 ] , 0.0 )