def test_gap_two_radii(): a = Wire(-1, 0, 0.5) b = Wire(1, 0, 1) assert a.gap_to(b) == approx(0.5)
def test_gap(): a = Wire(-1, 0, 0.5) b = Wire(1, 0, 0.5) assert a.gap_to(b) == approx(1)