@Test public void testResolveCenterForFractions() {

	// Arrange:
	final View view = new View(context);
	view.setLeft(0);
	view.setRight(100);
	view.setTop(0);
	view.setBottom(200);
	// Act:
	final float[] center = Reveal.resolveCenter(view, 0.25f, 0.80f);
	// Assert:
	assertThat(center, is(notNullValue()));
	assertThat(center.length, is(2));
	assertThat(center[0], is(view.getWidth() * 0.25f));
	assertThat(center[1], is(view.getHeight() * 0.80f));
}