@Test
public void test16_9FitInside4_3() throws Exception {

    RectangleF r43 = new RectangleF(0,0,480 * AspectHelper.ar_4_3, 480);
    RectangleF r169 = AspectHelper.fitInside(AspectHelper.RectF_16_9, r43);
    System.out.println(r43);
    System.out.println(r169);
    // 640x480
    // 16/9 inside 4/3 (same width)
    // should be 0,60,160,640
    Rectangle r = r169.asIntRect();
    assertEquals(0, r.x);
    assertEquals(60, r.y);
    assertEquals(640, r.width);
    assertEquals(360, r.height);
    assertEquals(r.width, (int)r169.width);
}