コード例 #1
0
ファイル: test_utils.py プロジェクト: e-koch/BaSiCs
def test_in_circle():

    pt = (5, 5)
    pars = (0, 0, 10)

    assert in_circle(pt, pars)
コード例 #2
0
def test_in_circle():

    pt = (5, 5)
    pars = (0, 0, 10)

    assert in_circle(pt, pars)
コード例 #3
0
ファイル: test_utils.py プロジェクト: e-koch/BaSiCs
def test_not_in_circle():

    pt = (5, 5)
    pars = (0, 0, 4)

    assert not in_circle(pt, pars)
コード例 #4
0
def test_not_in_circle():

    pt = (5, 5)
    pars = (0, 0, 4)

    assert not in_circle(pt, pars)