Пример #1
0
def test_number3():
    for i in ['a', int, []]:
        assert_false(is_number(i))
Пример #2
0
def test_number3(n):
    assert not is_number(n)
Пример #3
0
def test_number2():
    for i in range(-10, 10):
        assert_true(is_number(i/10))
Пример #4
0
def test_number2(n):
    assert is_number(n / 10)
Пример #5
0
def test_number1(n):
    assert is_number(n)
Пример #6
0
def test_number3(n):
    assert not is_number(n)
Пример #7
0
def test_number2(n):
    assert is_number(n/10)
Пример #8
0
def test_number1(n):
        assert is_number(n)