assertEquals( 90, bounds.getHeight() );
}
@Test
public void testUsesEmToComputeMargins() {
MarginInstruction instruction = new MarginInstruction( new Em( BigDecimal.ONE ),
new Em( BigDecimal.ONE ),
new Em( BigDecimal.ONE ),
new Em( BigDecimal.ONE ) );
Bounds bounds = instruction.computeBounds( new Bounds( 0, 0, 100, 100 ), 10 );
assertEquals( 10, bounds.getX() );
assertEquals( 10, bounds.getY() );