SimpleSearchNode implements SearchNode { @Override public String toString(CoordinateSystem coords) { String result = "Total runs: " + totalRuns + "\n"; for (final short p : coords.getAllPointsOnBoard()) { if (runs[p] > 2) { result += toString(p, coords); } } if (runs[PASS] > 10) { result += toString(PASS, coords); } return result; } SimpleSearchNode(CoordinateSystem coords); @Override String bestWinCountReport(CoordinateSystem coords); @Override short bestWinRate(CoordinateSystem coords); @Override boolean biasUpdated(); @Override void clear(@SuppressWarnings("hiding") long fancyHash,
			CoordinateSystem coords); @Override String deepToString(Board board, TranspositionTable table,
			int maxDepth); @Override synchronized void exclude(short p); @Override void free(); @Override ListNode<SearchNode> getChildren(); @Override long getFancyHash(); @Override short getMoveWithMostWins(CoordinateSystem coords); @Override int getRuns(short p); @Override int getTotalRuns(); @Override short getWinningMove(); @Override float getWinRate(short p); @Override float getWins(short p); @Override boolean hasChild(short p); @Override boolean isFresh(CoordinateSystem coords); @Override boolean isInUse(); @Override boolean isMarked(); @Override float overallWinRate(CoordinateSystem coords); @Override void recordPlayout(float winProportion, McRunnable runnable, int t); @Override void setBiasUpdated(boolean value); @Override void setChildren(ListNode<SearchNode> children); @Override void setHasChild(short p); @Override void setMarked(boolean marked); @Override void setWinningMove(short move); @Override String toString(CoordinateSystem coords); @Override synchronized void update(short p, int n, float wins); @Override void updateBias(McRunnable runnable);  }
@Test public void testToString() { node.recordPlayout(1, new short[] { at("a1") }, 0, 1); node.recordPlayout(1, new short[] { PASS }, 0, 1); int base = (2 * coords.getArea()) + 12; assertEquals( "Total runs: " + base + "\nA1: 2/ 3 (0.6667)\nPASS: 2/ 11 (0.1818)\n", node.toString(coords)); }