cformat
Class PrintfFormatTest
java.lang.Object
cformat.PrintfFormatTest
- public class PrintfFormatTest
- extends Object
Testing class for PrintfFormat. Run the main
method to test the class.
- See Also:
PrintfFormat- Author:
-
|
Method Summary |
static void |
main(String[] args)
Tests the class PrintfFormat. |
PrintfFormatTest
public PrintfFormatTest()
main
public static void main(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.