Put back original expected segment data for unit test
This commit is contained in:
parent
cbd665db7b
commit
0d64fdc5c7
|
@ -65,16 +65,16 @@ class TestPCBLoad(unittest.TestCase):
|
|||
reference = footprint.Reference()
|
||||
segments = [[p.x, p.y] for p in reference.TransformToSegmentList()]
|
||||
expected_segments = [
|
||||
[141901333, 69123378], [143340666, 69123378], [143340666, 69123378],
|
||||
[143510000, 69068949], [143510000, 69068949], [143594666, 69014521],
|
||||
[143594666, 69014521], [143679333, 68905663], [143679333, 68905663],
|
||||
[143679333, 68687949], [143679333, 68687949], [143594666, 68579092],
|
||||
[143594666, 68579092], [143510000, 68524663], [143510000, 68524663],
|
||||
[143340666, 68470235], [143340666, 68470235], [141901333, 68470235],
|
||||
[143679333, 67427928], [143679333, 68081071], [143679333, 67754500],
|
||||
[141901333, 67754500], [141901333, 67754500], [142155333, 67863357],
|
||||
[142155333, 67863357], [142324666, 67972214], [142324666, 67972214],
|
||||
[142409333, 68081071]
|
||||
[141901333, 69196857], [143340666, 69196857], [143340666, 69196857],
|
||||
[143510000, 69142428], [143510000, 69142428], [143594666, 69088000],
|
||||
[143594666, 69088000], [143679333, 68979142], [143679333, 68979142],
|
||||
[143679333, 68761428], [143679333, 68761428], [143594666, 68652571],
|
||||
[143594666, 68652571], [143510000, 68598142], [143510000, 68598142],
|
||||
[143340666, 68543714], [143340666, 68543714], [141901333, 68543714],
|
||||
[143679333, 67400714], [143679333, 68053857], [143679333, 67727285],
|
||||
[141901333, 67727285], [141901333, 67727285], [142155333, 67836142],
|
||||
[142155333, 67836142], [142324666, 67945000], [142324666, 67945000],
|
||||
[142409333, 68053857]
|
||||
]
|
||||
self.assertEqual(segments, expected_segments)
|
||||
|
||||
|
|
Loading…
Reference in New Issue