@Test public void testCounter() { GameLogic g = new GameLogic(); for (int i = 0; i < 10; i++) { g.ticBox(i); } assertEquals(9, g.getCountMoves()); }