@Test public void testsizenew() { MutableBoard a = new MutableBoard(2); MutableBoard b = new MutableBoard(3); MutableBoard c = new MutableBoard(4); MutableBoard d = new MutableBoard(5); MutableBoard e = new MutableBoard(6); MutableBoard f = new MutableBoard(7); MutableBoard g = new MutableBoard(8); MutableBoard h = new MutableBoard(9); MutableBoard k = new MutableBoard(10); assertEquals(2, a.size()); assertEquals(3, b.size()); assertEquals(4, c.size()); assertEquals(5, d.size()); assertEquals(6, e.size()); assertEquals(7, f.size()); assertEquals(8, g.size()); assertEquals(9, h.size()); assertEquals(10, k.size()); }
abstract int size();
Board extends Observable { abstract int size(); }
Board extends Observable { abstract int size();  }
Board extends Observable { abstract int size();  Square[] getData(); @Override String toString(); boolean winningCond(); String toDisplayString(); int neighborePos(int n, Direction pos); }
Board extends Observable { abstract int size();  Square[] getData(); @Override String toString(); boolean winningCond(); String toDisplayString(); int neighborePos(int n, Direction pos);  }