use of org.freeplane.features.format.FormattedObject in project freeplane by freeplane.
the class FormattedObjectTest method testStrangeInput.
@Test
public void testStrangeInput() {
final FormattedDate date = new FormattedDate(new Date(), "yyyy-mm-dd");
final FormattedObject formattedObject = new FormattedObject(date, "#.##");
assertEquals("decimal format is not applicable to date", date.toString(), formattedObject.toString());
}
Aggregations