assertEquals("Distance is 1.0E18", m.withNumberExponent(intVal));
assertEquals("Distance is 100.0E6", m.withNumberExponent(1e8f));
}
public void testShapesFamily() {
Shapes shapes = GWT.create(Shapes.class);
// test overload
assertEquals("aya irclecay", shapes.circle());
ColorsAndShapesAndConcepts s = GWT.create(ColorsAndShapesAndConcepts.class);
assertEquals("aya irclecay", s.circle());
// test converge
assertEquals("any primary color", s.shapeColor());
assertEquals("trees", s.green());