@Test public void testCalculateNextGeneration() { Logger.getAnonymousLogger().info("GameOfLife-Server initialized"); Court court = new Court(); court.initializeFields(); Logger.getAnonymousLogger().info("vorher: \n" + court); court.calculateNextGeneration(); Logger.getAnonymousLogger().info("nacher: \n" + court); Assert.assertTrue(court.isStillActive()); }
@Test public void testJson() { Court court = new Court(); court.initializeFields(); Logger.getAnonymousLogger().info(court.getJsonFields()); }