Exemple #1
0
def test_integer2():
    for i in range(-10, 10):
        assert_false(is_integer(i/10))
Exemple #2
0
def test_integer3():
    for i in ['a', int, []]:
        assert_false(is_integer(i))
Exemple #3
0
def test_integer3(n):
    assert not is_integer(n)
Exemple #4
0
def test_integer1():
    for i in range(-10, 10):
        assert_true(is_integer(i))
Exemple #5
0
def test_integer2(n):
    assert not is_integer(n / 10)
Exemple #6
0
def test_integer1(n):
    assert is_integer(n)
Exemple #7
0
def test_integer3(n):
    assert not is_integer(n)
Exemple #8
0
def test_integer2(n):
    assert not is_integer(n/10)
Exemple #9
0
def test_integer1(n):
    assert is_integer(n)