コード例 #1
0
def test_palindrome_number_9():
    x = 17371
    expected = True
    actual = is_palindrome(x)
    assert actual == expected
コード例 #2
0
def test_palindrome_number_5():
    x = 123
    expected = False
    actual = is_palindrome(x)
    assert actual == expected
コード例 #3
0
def test_palindrome_number_8():
    x = 6
    expected = True
    actual = is_palindrome(x)
    assert actual == expected
コード例 #4
0
def test_palindrome_number_4():
    x = -101
    expected = False
    actual = is_palindrome(x)
    assert actual == expected