def test_node_update(): test_node = DLL.Node(1) test_node.update("test") assert test_node.data == "test"
def test_node_str(): test_node = DLL.Node(1) assert str(test_node) == "1" test_node = DLL.Node("test") assert str(test_node) == "test"
def test_node_equals(): test_node = DLL.Node(1) assert test_node == 1 test_node = DLL.Node("test") assert test_node == "test"