  
      def test_len(self):
          print('Test: len on an empty list')
          linked_list = LinkedList(None)
          assert_equal(len(linked_list), 0)
  
          print('Test: len general case')
          head = Node(10)
          linked_list = LinkedList(head)
          linked_list.insert_to_front('a')
 
</s> remove         assert_equal(linked_list.get_all_data(), [])
 </s> add         self.assertEqual(linked_list.get_all_data(), []) </s> remove     "        assert_equal(len(linked_list), 0)\n",
 </s> add     "        self.assertEqual(len(linked_list), 0)\n", </s> remove     "        assert_equal(len(linked_list), 0)\n",
 </s> add     "        self.assertEqual(len(linked_list), 0)\n", </s> remove         assert_equal(node, None)
 </s> add         self.assertEqual(node, None) </s> remove         assert_equal(len(linked_list), 3)
 </s> add         self.assertEqual(len(linked_list), 3)
        self.assertEqual(len(linked_list), 0)
  
      def test_len(self):
          print('Test: len on an empty list')
          linked_list = LinkedList(None)
        self.assertEqual(len(linked_list), 0)
  
          print('Test: len general case')
          head = Node(10)
          linked_list = LinkedList(head)
          linked_list.insert_to_front('a')
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for linked_lists/ (#275) 
linked_lists/linked_list/test_linked_list.py