src/test/java/eu/digitisation/input/BatchTest.java
@Test
    public void testLcs() {
        System.out.println("lcs");
        String s1 = "switzerland";
        String s2 = "disneyland";
        String expResult = "land";
        String result = Batch.suffix(s1, s2);
        assertEquals(expResult, result);
        s2 = "sweden";
        expResult = "";
        result = Batch.suffix(s1, s2);
        assertEquals(expResult, result);
    }
/**
     * Test of suffix method, of class Batch.
     */
Test of suffix method, of class Batch.
Test of suffix method of class Batch .
@Test
    public void testLcs() {
        System.out.println("lcs");
        String s1 = "switzerland";
        String s2 = "disneyland";
        String expResult = "land";
        String result = Batch.suffix(s1, s2);
        assertEquals(expResult, result);
        s2 = "sweden";
        expResult = "";
        result = Batch.suffix(s1, s2);
        assertEquals(expResult, result);
    }
@ Test public void testLcs ( ) { System . out . println ( "lcs" ) ; String s1 = "switzerland" ; String s2 = "disneyland" ; String expResult = "land" ; String result = Batch . suffix ( s1 , s2 ) ; assertEquals ( expResult , result ) ; s2 = "sweden" ; expResult = "" ; result = Batch . suffix ( s1 , s2 ) ; assertEquals ( expResult , result ) ; }
Test of suffix method, of class Batch.
Test of suffix method of class Batch .