@Test public void testaddSpot() { int N = 3; MutableBoard board = new MutableBoard(N); board.addSpot(RED, 1, 2); assertEquals(RED, board.get(1, 2).getSide()); assertEquals(2, board.get(1, 2).getSpots()); board.addSpot(BLUE, 1, 3); assertEquals(BLUE, board.get(1, 3).getSide()); assertEquals(2, board.get(1, 3).getSpots()); }
void addSpot(Side player, int r, int c) { unsupported("addSpot"); }
Board extends Observable { void addSpot(Side player, int r, int c) { unsupported("addSpot"); } }
Board extends Observable { void addSpot(Side player, int r, int c) { unsupported("addSpot"); }  }
Board extends Observable { void addSpot(Side player, int r, int c) { unsupported("addSpot"); }  Square[] getData(); @Override String toString(); boolean winningCond(); String toDisplayString(); int neighborePos(int n, Direction pos); }
Board extends Observable { void addSpot(Side player, int r, int c) { unsupported("addSpot"); }  Square[] getData(); @Override String toString(); boolean winningCond(); String toDisplayString(); int neighborePos(int n, Direction pos);  }