public static void main(String[] args)
  {
    // write to stdout
    StdOut.println("Test");
    StdOut.println(17);
    StdOut.println(true);
    StdOut.printf("%.6f\n", 1.0 / 7.0);
  }
public static void main ( String [ ] args ) { StdOut . println ( "Test" ) ; StdOut . println ( 17 ) ; StdOut . println ( true ) ; StdOut . printf ( "%.6f\n" , 1.0 / 7.0 ) ; }
Unit tests some of the methods in <tt>StdOut</tt>.