Put back original expected segment data for unit test

This commit is contained in:
Mark Roszko 2022-01-04 13:42:08 +00:00
parent cbd665db7b
commit 0d64fdc5c7
1 changed files with 11 additions and 11 deletions

View File

@ -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)