src/test/java/eu/digitisation/document/TermFrequencyVectorTest.java
@Test
    public void testTotal() {
        System.out.println("total");
        TermFrequencyVector tf1 = new TermFrequencyVector(s1);
        TermFrequencyVector tf2 = new TermFrequencyVector(s2);
        System.out.println("tf1=" + tf1.toString());
        System.out.println("f2=" + tf2.toString());
        assertEquals(13, tf1.total());
        assertEquals(20, tf2.total());
    }
/**
     * Test of total method, of class TermFrequencyVector.
     */
Test of total method, of class TermFrequencyVector.
Test of total method of class TermFrequencyVector .
@Test
    public void testTotal() {
        System.out.println("total");
        TermFrequencyVector tf1 = new TermFrequencyVector(s1);
        TermFrequencyVector tf2 = new TermFrequencyVector(s2);
        System.out.println("tf1=" + tf1.toString());
        System.out.println("f2=" + tf2.toString());
        assertEquals(13, tf1.total());
        assertEquals(20, tf2.total());
    }
@ Test public void testTotal ( ) { System . out . println ( "total" ) ; TermFrequencyVector tf1 = new TermFrequencyVector ( s1 ) ; TermFrequencyVector tf2 = new TermFrequencyVector ( s2 ) ; System . out . println ( "tf1=" + tf1 . toString ( ) ) ; System . out . println ( "f2=" + tf2 . toString ( ) ) ; assertEquals ( 13 , tf1 . total ( ) ) ; assertEquals ( 20 , tf2 . total ( ) ) ; }
Test of total method, of class TermFrequencyVector.
Test of total method of class TermFrequencyVector .