### Question:
TrainTicTacToe { private TrainTicTacToe() {} private  TrainTicTacToe(); static void main(String[] args); static TrainingResult runExample(String[] args); static Block getBlock(); static DefaultTrainingConfig setupTrainingConfig();  }### Answer:
@Test public void testTrainTicTacToe() { if (Boolean.getBoolean("nightly")) { String[] args = new String[] {"-g", "1"}; Engine.getInstance().setRandomSeed(1234); TrainingResult result = TrainTicTacToe.runExample(args); Assert.assertNotNull(result); float winRate = result.getValidateEvaluation("winRate"); Assert.assertTrue(winRate > 0.8f, "Win Rate: " + winRate); } else { String[] args = new String[] {"-g", "1", "-e", "1", "-m", "1"}; TrainingResult result = TrainTicTacToe.runExample(args); Assert.assertNotNull(result); } }