@Test
public void testTranslate() {
SVGMatrix m = new SVGMatrix();
double tx = 1.4, ty = -0.4;
m.translate(tx, ty);
assertEquals(m.getA(), 1., 0.0001);
assertEquals(m.getB(), 0., 0.0001);
assertEquals(m.getC(), 0., 0.0001);
assertEquals(m.getD(), 1., 0.0001);
assertEquals(m.getE(), tx, 0.0001);