Gomoku/test/gomoku/PositionTest.java
/**
     * Test of equals method, of class Position.
     */
Test of equals method, of class Position.
Test of equals method of class Position .
@Test
    public void testEquals() {
        System.out.println("equals");
        Object o1 = new Menu();
        Object o2 = new Position(5,3);
        Object o3 = new Position(3,5);
        Position instance = new Position(3,5);
        assertFalse(instance.equals(o1));
        assertFalse(instance.equals(o2));
        assertTrue(instance.equals(o3));
    }
@ Test public void testEquals ( ) { System . out . println ( "equals" ) ; Object o1 = new Menu ( ) ; Object o2 = new Position ( 5 , 3 ) ; Object o3 = new Position ( 3 , 5 ) ; Position instance = new Position ( 3 , 5 ) ; assertFalse ( instance . equals ( o1 ) ) ; assertFalse ( instance . equals ( o2 ) ) ; assertTrue ( instance . equals ( o3 ) ) ; }
Test of equals method, of class Position.
Test of equals method of class Position .