src/test/java/eu/digitisation/distance/ArrayEditDistanceTest.java
@Test
    public void testIndelDistance() {
        System.out.println("indelDistance");
        Object[] first = {'p','a','t','a','t','a'};
        Object[] second = {'a','p','t','a'};
        int expResult = 4;
        int result = ArrayEditDistance.indel(first, second);
        assertEquals(expResult, result);
    }
/**
     * Test of indel method, of class ArrayEditDistance.
     */
Test of indel method, of class ArrayEditDistance.
Test of indel method of class ArrayEditDistance .
@Test
    public void testIndelDistance() {
        System.out.println("indelDistance");
        Object[] first = {'p','a','t','a','t','a'};
        Object[] second = {'a','p','t','a'};
        int expResult = 4;
        int result = ArrayEditDistance.indel(first, second);
        assertEquals(expResult, result);
    }
@ Test public void testIndelDistance ( ) { System . out . println ( "indelDistance" ) ; Object [ ] first = { 'p' , 'a' , 't' , 'a' , 't' , 'a' } ; Object [ ] second = { 'a' , 'p' , 't' , 'a' } ; int expResult = 4 ; int result = ArrayEditDistance . indel ( first , second ) ; assertEquals ( expResult , result ) ; }
Test of indel method, of class ArrayEditDistance.
Test of indel method of class ArrayEditDistance .