def test_for_multiple_nodes(self):
     node = Node(1, Node(2))
     self.assertTrue(node.contains(1))
     self.assertTrue(node.contains(2))
     self.assertFalse(node.contains(3))
 def test_for_single_node(self):
     node = Node(1)
     self.assertTrue(node.contains(1))
     self.assertFalse(node.contains(2))