Beispiel #1
0
 def test_search_nonempty_list( self ):
     ll = DoubleLinkedList()
     ll.add( 10 )
     self.assertNotEqual( ll.search(10), None )
Beispiel #2
0
 def test_search_empty_list( self ):
     ll = DoubleLinkedList()
     self.assertEqual( ll.search(10), None )