public void testFormat2() throws ChartException { assertEquals("13.1", ValueFormatter.format(new Double(13.1), null, null, new DecimalFormat())); assertEquals("13.1", ValueFormatter.format(NumberDataElementImpl.create(13.1), null, null, new DecimalFormat())); assertEquals(Calendar.getInstance().toString(), ValueFormatter.format(Calendar.getInstance(), null, null, new DecimalFormat()));
public void testFormat2( ) throws ChartException { assertEquals( "13.1", ValueFormatter.format( new Double( 13.1 ), null, null, new DecimalFormat( ) ) ); assertEquals( "13.1", ValueFormatter.format( NumberDataElementImpl.create( 13.1 ), null, null, new DecimalFormat( ) ) );
	public void testFormat2() throws ChartException {		assertEquals("13.1", ValueFormatter.format(new Double(13.1), null, null, new DecimalFormat()));//$NON-NLS-1$ 		assertEquals("13.1", ValueFormatter.format(NumberDataElementImpl.create(13.1), null, null, new DecimalFormat()));//$NON-NLS-1$		assertEquals(Calendar.getInstance().toString(), ValueFormatter.format(Calendar.getInstance(), null, null, new DecimalFormat()));	}