Formatter fmt = new Formatter();
Mock_Formattable mf = new Mock_Formattable();
assertTrue(fmt.format("%1.1s", mf).toString().equals("single precision "));
assertTrue(fmt.format("%2.1s", mf).toString().equals("single precision single precision "));
assertTrue(fmt.format("%2.2s", mf).toString().equals("single precision single precision double precision "));
assertTrue(mf.isFormatToCalled());