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