def test_Vertex_set_data_2(): vertex = Vertex(1) vertex.set_data(0) assert vertex.get_data() == 0
def test_Vertex_set_data_1(): vertex = Vertex(1) vertex.set_data(2) assert vertex.get_data() == 2