src/test/java/eu/digitisation/math/CounterTest.java
@Test
    public void test() {
        System.out.println("add");
        Object object = null;
        int value = 0;
        Counter<Integer> instance = new Counter<Integer>();
        instance.add(1, 3);
        instance.inc(1);
        instance.add(1, -1);
        assertEquals(instance.get(1).intValue(), 3);
    }
/**
     * Test of add method, of class Counter.
     */
Test of add method, of class Counter.
Test of add method of class Counter .
@Test
    public void test() {
        System.out.println("add");
        Object object = null;
        int value = 0;
        Counter<Integer> instance = new Counter<Integer>();
        instance.add(1, 3);
        instance.inc(1);
        instance.add(1, -1);
        assertEquals(instance.get(1).intValue(), 3);
    }
@ Test public void test ( ) { System . out . println ( "add" ) ; Object object = null ; int value = 0 ; Counter < Integer > instance = new Counter < Integer > ( ) ; instance . add ( 1 , 3 ) ; instance . inc ( 1 ) ; instance . add ( 1 , - 1 ) ; assertEquals ( instance . get ( 1 ) . intValue ( ) , 3 ) ; }
Test of add method, of class Counter.
Test of add method of class Counter .