def setUp(self) -> None: # Arange l = [((0, 0), (100, 100)), ((0, 0), (-100, 100)), ((0, 0), (-100, -100)), ] # Act self.graphs = construct_graphs(map(lambda x: line.fromTouple(x), l))
def setUp(self) -> None: # Arange lines = map(lambda x: line.fromTouple(x), [((0, 0), (100, 100)), ((0, 0), (-100, 100))]) # Act self.graphs = construct_graphs(lines)