  
          print('Test: One element, k = 0')
          head = Node(2)
          linked_list = MyLinkedList(head)
          assert_equal(linked_list.kth_to_last_elem(0), 2)
  
          print('Test: General case')
          linked_list.insert_to_front(1)
          linked_list.insert_to_front(3)
          linked_list.insert_to_front(5)
 
</s> remove         assert_equal(linked_list.kth_to_last_elem(100), None)
 </s> add         self.assertEqual(linked_list.kth_to_last_elem(100), None) </s> remove         assert_equal(linked_list.kth_to_last_elem(0), None)
 </s> add         self.assertEqual(linked_list.kth_to_last_elem(0), None) </s> remove         assert_equal(linked_list.get_all_data(), [None])
 </s> add         self.assertEqual(linked_list.get_all_data(), [None]) </s> remove     "        assert_equal(linked_list.kth_to_last_elem(100), None)\n",
 </s> add     "        self.assertEqual(linked_list.kth_to_last_elem(100), None)\n", </s> remove     "        assert_equal(linked_list.kth_to_last_elem(100), None)\n",
 </s> add     "        self.assertEqual(linked_list.kth_to_last_elem(100), None)\n",
        self.assertEqual(linked_list.kth_to_last_elem(0), 2)
  
          print('Test: One element, k = 0')
          head = Node(2)
          linked_list = MyLinkedList(head)
        self.assertEqual(linked_list.kth_to_last_elem(0), 2)
  
          print('Test: General case')
          linked_list.insert_to_front(1)
          linked_list.insert_to_front(3)
          linked_list.insert_to_front(5)
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for linked_lists/ (#275) 
linked_lists/kth_to_last_elem/test_kth_to_last_elem.py