<filename>test_problem4.py
import problem4


def test_ispalindrome_emptyString_returnFalse():
    assert problem4.is_palindrome('') is False


def test_ispalindrome_1_returnTrue():
    assert problem4.is_palindrome(1)


def test_ispalindrome_10_returnFalse():
    assert problem4.is_palindrome(10) is False


def test_ispalindrome_11_returnTrue():
    assert problem4.is_palindrome(11)


def test_ispalindrome_101_returnTrue():
    assert problem4.is_palindrome(101)


def test_ispalindrome_110_returnFalse():
    assert problem4.is_palindrome(110) is False


def test_largestpalindrome_2digit_returns9009():
    assert problem4.largest_palindrome(10, 100) == 9009

<filename>test_problem4.py
import problem4


def test_ispalindrome_emptyString_returnFalse():
    assert problem4.is_palindrome('') is False


def test_ispalindrome_1_returnTrue():
    assert problem4.is_palindrome(1)


def test_ispalindrome_10_returnFalse():
    assert problem4.is_palindrome(10) is False


def test_ispalindrome_11_returnTrue():
    assert problem4.is_palindrome(11)


def test_ispalindrome_101_returnTrue():
    assert problem4.is_palindrome(101)


def test_ispalindrome_110_returnFalse():
    assert problem4.is_palindrome(110) is False


def test_largestpalindrome_2digit_returns9009():
    assert problem4.largest_palindrome(10, 100) == 9009
