def test_search_nonempty_list( self ): ll = DoubleLinkedList() ll.add( 10 ) self.assertNotEqual( ll.search(10), None )
def test_search_empty_list( self ): ll = DoubleLinkedList() self.assertEqual( ll.search(10), None )