src/test/java/org/thegalactic/context/constraint/categorical/CategoricalModelTest.java
@Test
    public void testSizeAttributes() {
        ArrayList<CategoricalAttribute> attributes = new ArrayList<CategoricalAttribute>();
        CategoricalModel model = CategoricalModel.create();
        attributes.add(model.addAttribute());
        attributes.add(model.addAttribute());
        attributes.add(model.addAttribute());
        assertEquals(attributes.size(), model.sizeAttributes());
    }
/**
     * Test of sizeAttributes method, of class CategoricalModel.
     */
Test of sizeAttributes method, of class CategoricalModel.
Test of sizeAttributes method of class CategoricalModel .
@Test
    public void testSizeAttributes() {
        ArrayList<CategoricalAttribute> attributes = new ArrayList<CategoricalAttribute>();
        CategoricalModel model = CategoricalModel.create();
        attributes.add(model.addAttribute());
        attributes.add(model.addAttribute());
        attributes.add(model.addAttribute());
        assertEquals(attributes.size(), model.sizeAttributes());
    }
@ Test public void testSizeAttributes ( ) { ArrayList < CategoricalAttribute > attributes = new ArrayList < CategoricalAttribute > ( ) ; CategoricalModel model = CategoricalModel . create ( ) ; attributes . add ( model . addAttribute ( ) ) ; attributes . add ( model . addAttribute ( ) ) ; attributes . add ( model . addAttribute ( ) ) ; assertEquals ( attributes . size ( ) , model . sizeAttributes ( ) ) ; }
Test of sizeAttributes method, of class CategoricalModel.
Test of sizeAttributes method of class CategoricalModel .