harness.check (myformat (mf, args, buf), "the disk contains {1} {0}");
args = new Object[1];
harness.checkPoint ("choice format");
args[0] = new Long (5);
mf.applyPattern ("There {0,choice,0#are no files|1#is one file|1<are {0, number, integer} files}.");
harness.check (myformat (mf, args, buf), "There are 5 files.");
args[0] = new Double (10.23);
mf.applyPattern ("Got {0,number,'#'.##}");
harness.check (myformat (mf, args, buf), "Got #10.23");