Fix a qa test issue related to pad hit test.
This commit is contained in:
parent
8506cdf3ae
commit
ca548809da
|
@ -72,6 +72,10 @@ class TestBoardClass(unittest.TestCase):
|
||||||
pad.SetSize(wxSizeMM(2.0, 3.0))
|
pad.SetSize(wxSizeMM(2.0, 3.0))
|
||||||
pad.SetPosition(wxPointMM(0,0))
|
pad.SetPosition(wxPointMM(0,0))
|
||||||
|
|
||||||
|
#Update the footprint bounding box, because
|
||||||
|
#the new pad must be inside the bounding box to be located
|
||||||
|
module.CalculateBoundingBox()
|
||||||
|
|
||||||
# easy case
|
# easy case
|
||||||
p1 = pcb.GetPad(wxPointMM(0,0))
|
p1 = pcb.GetPad(wxPointMM(0,0))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue