示例#1
0
def test_check_uv4():
    v = 2
    u = 0.1
    assert not utilities.check_params([u, v])
示例#2
0
def test_check_uv2():
    u = 2
    v = 0.1
    assert not utilities.check_params([u, v])
示例#3
0
def test_check_uv3():
    v = -0.1
    u = 0.1
    assert not utilities.check_params([u, v])
示例#4
0
def test_check_uv4():
    v = 2
    u = 0.1
    assert not utilities.check_params([u, v])
示例#5
0
def test_check_uv1():
    u = -0.1
    v = 0.1
    assert not utilities.check_params([u, v])
示例#6
0
def test_check_uv3():
    v = -0.1
    u = 0.1
    assert not utilities.check_params([u, v])
示例#7
0
def test_check_uv2():
    u = 2
    v = 0.1
    assert not utilities.check_params([u, v])
示例#8
0
def test_check_uv1():
    u = -0.1
    v = 0.1
    assert not utilities.check_params([u, v])
示例#9
0
def test_check_uv4():
    with pytest.raises(ValueError):
        v = 2
        u = 0.1
        utilities.check_params([u, v])
示例#10
0
def test_check_uv2():
    with pytest.raises(ValueError):
        u = 2
        v = 0.1
        utilities.check_params([u, v])