import org.junit.Test;

import static org.junit.Assert.*;

public class P55_LychrelNumbersTest {

    @Test
    public void testGetLychrelCount() throws Exception {
        assertEquals(-1, P55_LychrelNumbers.getLychrelCount(10));
        assertEquals(-1, P55_LychrelNumbers.getLychrelCount(100));
        assertEquals(-1, P55_LychrelNumbers.getLychrelCount(1000));
        assertEquals(-1, P55_LychrelNumbers.getLychrelCount(10000));
    }

    @Test
    public void testIsLychrelNumber() throws Exception {
        assert (P55_LychrelNumbers.isLychrelNumber(196));
        assert (P55_LychrelNumbers.isLychrelNumber(4994));
    }

    @Test
    public void testGetLychrelTransform() throws Exception {

    }

    @Test
    public void testIsPalindrome() throws Exception {

    }
}

@@ -693,24 +693,94 @@
 Exception %7B%0A
+        assertEquals(123321, P55_LychrelNumbers.getLychrelCount(123));
 %0A    %7D%0A%0A    
@@ -839,16 +839,663 @@
 ption %7B%0A
+        assert (P55_LychrelNumbers.isPalindrome(1));%0A        assert (P55_LychrelNumbers.isPalindrome(191));%0A        assert (P55_LychrelNumbers.isPalindrome(123454321));%0A        assert (P55_LychrelNumbers.isPalindrome(1001));%0A        assert (P55_LychrelNumbers.isPalindrome(1234444321));%0A        assert (!P55_LychrelNumbers.isPalindrome(12));%0A        assert (!P55_LychrelNumbers.isPalindrome(123456789));%0A        assert (!P55_LychrelNumbers.isPalindrome(1234564321));%0A        assert (!P55_LychrelNumbers.isPalindrome(12398321));%0A        assert (!P55_LychrelNumbers.isPalindrome(1231));%0A        assert (!P55_LychrelNumbers.isPalindrome(1919129191));
 %0A    %7D%0A%7D

add some unit tests but need more