src/test/java/eu/digitisation/distance/EditTableTest.java
@Test
    public void testGet() {
        System.out.println("get");
        EditTable instance = new EditTable(2, 2);
        for (int i = 0; i < 2; ++i) {
            for (int j = 0; j < 2; ++j) {
                if (i == j) {
                    instance.set(i, j, EdOp.KEEP);
                } else {
                    instance.set(i, j, EdOp.SUBSTITUTE);
                }
            }
        }
        for (int i = 0; i < 2; ++i) {
            for (int j = 0; j < 2; ++j) {
                if (i == j) {
                    assertEquals(EdOp.KEEP, instance.get(i, j));
                } else {
                    assertEquals(EdOp.SUBSTITUTE, instance.get(i, j));
                }
            }
        }
    }
/**
     * Test of get method, of class EditTable.
     */
Test of get method, of class EditTable.
Test of get method of class EditTable .
@Test
    public void testGet() {
        System.out.println("get");
        EditTable instance = new EditTable(2, 2);
        for (int i = 0; i < 2; ++i) {
            for (int j = 0; j < 2; ++j) {
                if (i == j) {
                    instance.set(i, j, EdOp.KEEP);
                } else {
                    instance.set(i, j, EdOp.SUBSTITUTE);
                }
            }
        }
        for (int i = 0; i < 2; ++i) {
            for (int j = 0; j < 2; ++j) {
                if (i == j) {
                    assertEquals(EdOp.KEEP, instance.get(i, j));
                } else {
                    assertEquals(EdOp.SUBSTITUTE, instance.get(i, j));
                }
            }
        }
    }
@ Test public void testGet ( ) { System . out . println ( "get" ) ; EditTable instance = new EditTable ( 2 , 2 ) ; for ( int i = 0 ; i < 2 ; ++ i ) { for ( int j = 0 ; j < 2 ; ++ j ) { if ( i == j ) { instance . set ( i , j , EdOp . KEEP ) ; } else { instance . set ( i , j , EdOp . SUBSTITUTE ) ; } } } for ( int i = 0 ; i < 2 ; ++ i ) { for ( int j = 0 ; j < 2 ; ++ j ) { if ( i == j ) { assertEquals ( EdOp . KEEP , instance . get ( i , j ) ) ; } else { assertEquals ( EdOp . SUBSTITUTE , instance . get ( i , j ) ) ; } } } }
Test of get method, of class EditTable.
Test of get method of class EditTable .