示例#1
0
def test_is_integer():
    assert is_integer(1)
    assert is_integer(-1)
    assert not is_integer('str')
    assert not is_integer(1.1)
示例#2
0
def test_is_integer():
    assert is_integer(1)
    assert is_integer(-1)
    assert not is_integer("str")
    assert not is_integer(1.1)