jago-server/src/test/java/jago/server/board/StoneColorTest.java
@Test
    public void testGetNumber() {
        assertEquals(color1.getNumber(), 1);
        assertEquals(color2.getNumber(), 0);
        assertEquals(color2, StoneColor.getColor(0));
        assertEquals(color1, StoneColor.getColor(1));
        assertEquals(color3, StoneColor.getColor(2));
    }
/**
     * Test of getNumber method, of class StoneColor.
     */
Test of getNumber method, of class StoneColor.
Test of getNumber method of class StoneColor .
@Test
    public void testGetNumber() {
        assertEquals(color1.getNumber(), 1);
        assertEquals(color2.getNumber(), 0);
        assertEquals(color2, StoneColor.getColor(0));
        assertEquals(color1, StoneColor.getColor(1));
        assertEquals(color3, StoneColor.getColor(2));
    }
@ Test public void testGetNumber ( ) { assertEquals ( color1 . getNumber ( ) , 1 ) ; assertEquals ( color2 . getNumber ( ) , 0 ) ; assertEquals ( color2 , StoneColor . getColor ( 0 ) ) ; assertEquals ( color1 , StoneColor . getColor ( 1 ) ) ; assertEquals ( color3 , StoneColor . getColor ( 2 ) ) ; }
Test of getNumber method, of class StoneColor.
Test of getNumber method of class StoneColor .