cformat
Class PrintfFormatTest

java.lang.Object
  |
  +--cformat.PrintfFormatTest

public class PrintfFormatTest
extends java.lang.Object

Testing class for PrintfFormat. Run the main method to test the class.

Author:
John E. Lloyd, 2000
See Also:
PrintfFormat

Constructor Summary
PrintfFormatTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          Tests the class PrintfFormat.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintfFormatTest

public PrintfFormatTest()
Method Detail

main

public static void main(java.lang.String[] args)
Tests the class PrintfFormat. If everything is OK, the string "Passed" is printed, and the program exits with status 0. Otherwise, diagnostics and a stack trace are printed, and the program exits with status 1.

Parameters:
args - Program arguments.
"-help" prints a usage message.
"-timing" compares how long it takes to output a double compared to the regular Java string conversion.