src/test/java/eu/digitisation/distance/WordCompareTest.java
@Test
    public void testWdiff() {
        System.out.println("wdiff");
        String first = "one to just one";
        String second = "to see one";
        String expResult = "one # []\nto = to\njust # see\none = one\n";
        String result = WordCompare.wdiff(first, second);
        assertEquals(expResult, result);
    }
/**
     * Test of wdiff method, of class WordCompare.
     */
Test of wdiff method, of class WordCompare.
Test of wdiff method of class WordCompare .
@Test
    public void testWdiff() {
        System.out.println("wdiff");
        String first = "one to just one";
        String second = "to see one";
        String expResult = "one # []\nto = to\njust # see\none = one\n";
        String result = WordCompare.wdiff(first, second);
        assertEquals(expResult, result);
    }
@ Test public void testWdiff ( ) { System . out . println ( "wdiff" ) ; String first = "one to just one" ; String second = "to see one" ; String expResult = "one # []\nto = to\njust # see\none = one\n" ; String result = WordCompare . wdiff ( first , second ) ; assertEquals ( expResult , result ) ; }
Test of wdiff method, of class WordCompare.
Test of wdiff method of class WordCompare .