src/test/java/eu/digitisation/math/BiCounterTest.java
@Test
    public void testValue() {
        System.out.println("value");
        Object o1 = null;
        Object o2 = null;
        BiCounter<Integer, Integer> bc = new BiCounter<Integer, Integer>();
        bc.inc(1, 2);
        bc.inc(1, 3);
        bc.add(1, 3, 4);
        assertEquals(1, bc.value(1, 2));
        assertEquals(5, bc.value(1, 3));
        assertEquals(6, bc.value(1, null));
        assertEquals(6, bc.total());
    }
/**
     * Test of value method, of class BiCounter.
     */
Test of value method, of class BiCounter.
Test of value method of class BiCounter .
@Test
    public void testValue() {
        System.out.println("value");
        Object o1 = null;
        Object o2 = null;
        BiCounter<Integer, Integer> bc = new BiCounter<Integer, Integer>();
        bc.inc(1, 2);
        bc.inc(1, 3);
        bc.add(1, 3, 4);
        assertEquals(1, bc.value(1, 2));
        assertEquals(5, bc.value(1, 3));
        assertEquals(6, bc.value(1, null));
        assertEquals(6, bc.total());
    }
@ Test public void testValue ( ) { System . out . println ( "value" ) ; Object o1 = null ; Object o2 = null ; BiCounter < Integer , Integer > bc = new BiCounter < Integer , Integer > ( ) ; bc . inc ( 1 , 2 ) ; bc . inc ( 1 , 3 ) ; bc . add ( 1 , 3 , 4 ) ; assertEquals ( 1 , bc . value ( 1 , 2 ) ) ; assertEquals ( 5 , bc . value ( 1 , 3 ) ) ; assertEquals ( 6 , bc . value ( 1 , null ) ) ; assertEquals ( 6 , bc . total ( ) ) ; }
Test of value method, of class BiCounter.
Test of value method of class BiCounter .