SimpleTreeUpdater implements TreeUpdater { @Override public void clear() { table.sweep(); } SimpleTreeUpdater(Board board, TranspositionTable table,
			int gestation); @Override void clear(); @Override int getGestation(); @Override SearchNode getRoot(); String toString(int maxDepth); @Override void updateForAcceptMove(); @Override void updateTree(Color winner, McRunnable runnable);  }
@Test public void testClear() { McRunnable runnable = player.getMcRunnable(0); runnable.acceptMove(at("b1")); runnable.acceptMove(at("c4")); runnable.acceptMove(at("a2")); updater.updateTree(BLACK, runnable); updater.clear(); assertEquals("Total runs: 60\n", updater.toString(5)); }