src/test/java/com/ve/cxe/commons/collection/FastSetTest.java
/**
     * Test of Add and Remove method
     */
Test of Add and Remove method
Test of Add and Remove method
@Test
    public void testAddRemove() {
        System.out.println("Add");
        FastFixedSet set = new FastFixedSet(1);
        String value = "V";
        set.add(value);
        assertTrue(set.size() == 1);
        assertTrue(set.remove(value));
        assertTrue(set.size() == 0);
    }
@ Test public void testAddRemove ( ) { System . out . println ( "Add" ) ; FastFixedSet set = new FastFixedSet ( 1 ) ; String value = "V" ; set . add ( value ) ; assertTrue ( set . size ( ) == 1 ) ; assertTrue ( set . remove ( value ) ) ; assertTrue ( set . size ( ) == 0 ) ; }
Test of Add and Remove method
Test of Add and Remove method