public void testToString(){
  LongAdder ai=new LongAdder();
  assertEquals("0",ai.toString());
  ai.increment();
  assertEquals(Long.toString(1),ai.toString());
}

public void testToString ( ) { LongAdder ai = new LongAdder ( ) ; assertEquals ( "0" , ai . toString ( ) ) ; ai . increment ( ) ; assertEquals ( Long . toString ( 1 ) , ai . toString ( ) ) ; }
tostring returns current value .
