@Test public void testSize() { Board B = new MutableBoard(5); assertEquals("bad length", 5, B.size()); ConstantBoard C = new ConstantBoard(B); assertEquals("bad length", 5, C.size()); Board D = new MutableBoard(C); assertEquals("bad length", 5, C.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);  }