Пример #1
0
def test_point_in_circle_center():
    ok_(circle.point_in_circle(center=(0, 0), radius=1, point=(0, 0)))
Пример #2
0
def test_point_in_circle_valid():
    ok_(circle.point_in_circle(center=(0, 0), radius=1, point=(0.25, 0.25)))
Пример #3
0
def test_point_in_circle_invalid():
    ok_(not circle.point_in_circle(center=(0, 0), radius=1, point=(1, 1)))