#NEWLINE# def test__merge( self ) : #NEWLINE# #INDENT# unit1a = fake_neo ( Unit , seed = self . seed1 , n = self . nchildren ) #NEWLINE# assert_same_sub_schema ( unit1a . unit1 , unit1a ) #NEWLINE# unit1a . annotate ( seed = self . seed2 ) #NEWLINE# unit1a . spikes . append ( self . spikes2 [ 0 ] ) #NEWLINE# unit1a . merge ( self . unit2 ) #NEWLINE# self . check_creation ( self . unit2 ) #NEWLINE# assert_same_sub_schema ( ( self . spikes1a + self . spikes2 ) , unit1a . spikes ) #NEWLINE# assert_same_sub_schema ( ( self . trains1a + self . trains2 ) , unit1a . spiketrains )