src/test/java/org/thegalactic/context/constraint/numerical/NumericalStorageTest.java
@Test
    public void testToString() {
        NumericalStorage storage = NumericalStorage.create(10);
        assertEquals("[@, @, @, @, @, @, @, @, @, @]", storage.toString());
        storage.setPoint(0, 0);
        storage.setInf(1, 0).setSup(1, 10);
        assertEquals("[0.0, (0.0,10.0), @, @, @, @, @, @, @, @]", storage.toString());
    }
/**
     * Test of toString method, of class NumericalStorage.
     */
Test of toString method, of class NumericalStorage.
Test of toString method of class NumericalStorage .
@Test
    public void testToString() {
        NumericalStorage storage = NumericalStorage.create(10);
        assertEquals("[@, @, @, @, @, @, @, @, @, @]", storage.toString());
        storage.setPoint(0, 0);
        storage.setInf(1, 0).setSup(1, 10);
        assertEquals("[0.0, (0.0,10.0), @, @, @, @, @, @, @, @]", storage.toString());
    }
@ Test public void testToString ( ) { NumericalStorage storage = NumericalStorage . create ( 10 ) ; assertEquals ( "[@, @, @, @, @, @, @, @, @, @]" , storage . toString ( ) ) ; storage . setPoint ( 0 , 0 ) ; storage . setInf ( 1 , 0 ) . setSup ( 1 , 10 ) ; assertEquals ( "[0.0, (0.0,10.0), @, @, @, @, @, @, @, @]" , storage . toString ( ) ) ; }
Test of toString method, of class NumericalStorage.
Test of toString method of class NumericalStorage .