示例#1
0
 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))
示例#2
0
 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)