@Test
public void testShift() throws Exception {

  String original = "" +
                    "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" +
                    "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" +
                    "    android:width=\"94dp\"\n" +
                    "    android:height=\"337.5dp\"\n" +
                    "    android:viewportWidth=\"94\"\n" +
                    "    android:viewportHeight=\"337.5\">\n" +
                    "  <group android:translateY=\"133.59375\">\n" +
                    "    <path android:pathData=\"M68.41406,-26.71875L25.523438,-26.71875L15.890625,0L1.96875,0L41.0625,-102.375L52.875,-102.375L92.03906,0L78.1875,0ZM29.601562,-37.828125L64.40625,-37.828125L46.96875,-85.71094Z\"\n" +
                    "        android:fillColor=\"#000000\"/>\n" +
                    "  </group>\n" +
                    "  <group android:translateY=\"302.34375\">\n" +
                    "    <path android:pathData=\"M68.41406,-26.71875L25.523438,-26.71875L15.890625,0L1.96875,0L41.0625,-102.375L52.875,-102.375L92.03906,0L78.1875,0ZM29.601562,-37.828125L64.40625,-37.828125L46.96875,-85.71094Z\"\n" +
                    "        android:fillColor=\"#000000\"/>\n" +
                    "  </group>\n" +
                    "</vector>\n";
  String expected = "" +
                    "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" +
                    "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" +
                    "    android:width=\"100dp\"\n" +
                    "    android:height=\"100dp\"\n" +
                    "    android:viewportWidth=\"100\"\n" +
                    "    android:viewportHeight=\"100\">\n" +
                    "  <group android:scaleX=\"0.7407407\"\n" +
                    "      android:scaleY=\"0.7407407\"\n" +
                    "      android:translateX=\"25.185184\"\n" +
                    "      android:translateY=\"-95\">\n" +
                    "    <group android:translateY=\"133.59375\">\n" +
                    "      <path android:pathData=\"M68.41406,-26.71875L25.523438,-26.71875L15.890625,0L1.96875,0L41.0625,-102.375L52.875,-102.375L92.03906,0L78.1875,0ZM29.601562,-37.828125L64.40625,-37.828125L46.96875,-85.71094Z\"\n" +
                    "          android:fillColor=\"#000000\"/>\n" +
                    "    </group>\n" +
                    "    <group android:translateY=\"302.34375\">\n" +
                    "      <path android:pathData=\"M68.41406,-26.71875L25.523438,-26.71875L15.890625,0L1.96875,0L41.0625,-102.375L52.875,-102.375L92.03906,0L78.1875,0ZM29.601562,-37.828125L64.40625,-37.828125L46.96875,-85.71094Z\"\n" +
                    "          android:fillColor=\"#000000\"/>\n" +
                    "    </group>\n" +
                    "  </group>\n" +
                    "</vector>\n";
  String result = VectorDrawableTransformer.transform(original, new Dimension(100, 100), Gravity.CENTER, 2.5, null, new Point2D.Double(0.1, -0.2), null, 1);
  assertEquals(expected, result);
}