Gomoku/test/gomoku/CoupTest.java
/**
     * Test of toString method, of class Coup.
     */
Test of toString method, of class Coup.
Test of toString method of class Coup .
@Test
    public void testToString() {
        System.out.println("toString");
        Position pos = new Position(5,3);
        Coup instance = new Coup(1, pos);
        String expResult = "[1 " + pos + "]";
        String result = instance.toString();
        assertEquals(expResult, result);
    }
@ Test public void testToString ( ) { System . out . println ( "toString" ) ; Position pos = new Position ( 5 , 3 ) ; Coup instance = new Coup ( 1 , pos ) ; String expResult = "[1 " + pos + "]" ; String result = instance . toString ( ) ; assertEquals ( expResult , result ) ; }
Test of toString method, of class Coup.
Test of toString method of class Coup .