Example #1
0
def test_is_palindrome_slicing_on_non_palindrome(s: str) -> None:
    # Setup - None necessary

    # Exercise
    result = palindrome.is_palindrome_slicing(s)

    # Verify
    assert not result
Example #2
0
def test_generate_palindrome_build(s: str) -> None:
    # Setup - None necessary

    # Exercise
    result = palindrome.generate_palindrome_build(s)

    # Verify
    assert palindrome.is_palindrome_slicing(result)