Gomoku/test/gomoku/PlateauTest.java
/**
     * Test of isFull method, of class Plateau.
     */
Test of isFull method, of class Plateau.
Test of isFull method of class Plateau .
@Test
    public void testIsFull() throws OutOfBoundException, InvalidPlayException {
        System.out.println("isFull");
        Plateau instance = new Plateau(1, 2);
        instance.initialiser();
        assertFalse(instance.isFull());
        instance.jouer(new Coup(1, new Position(0, 0)));
        assertFalse(instance.isFull());
        instance.jouer(new Coup(1, new Position(0, 1)));
        assertTrue(instance.isFull());
    }
@ Test public void testIsFull ( ) throws OutOfBoundException , InvalidPlayException { System . out . println ( "isFull" ) ; Plateau instance = new Plateau ( 1 , 2 ) ; instance . initialiser ( ) ; assertFalse ( instance . isFull ( ) ) ; instance . jouer ( new Coup ( 1 , new Position ( 0 , 0 ) ) ) ; assertFalse ( instance . isFull ( ) ) ; instance . jouer ( new Coup ( 1 , new Position ( 0 , 1 ) ) ) ; assertTrue ( instance . isFull ( ) ) ; }
Test of isFull method, of class Plateau.
Test of isFull method of class Plateau .