def test_equality_empty(self): dl1 = DoublyLinkedList() dl2 = DoublyLinkedList() self.assertTrue(dl1 == dl2)
def test_type(self): self.assertIsInstance(DoublyLinkedList(), DoublyLinkedList)
def test_len_0(self): self.assertEqual(len(DoublyLinkedList()), 0)