Cleanup of AreaOfInterest

This commit is contained in:
Erlend Hamnaberg
2010-04-20 16:09:26 +02:00
committed by Shihab Uddin
parent be959ce3f3
commit 3628f3b392
2 changed files with 125 additions and 101 deletions
@@ -22,7 +22,6 @@ public class AreaOfInterestTestCase {
@Test
public void testGetAOIAbsoluteOverflowX() {
assertEquals(new Rectangle(10, 10, 90, 100), new AreaOfInterest(100, 200, false, false).getAOI(10, 10, 100, 100));
}
@@ -332,7 +331,7 @@ public class AreaOfInterestTestCase {
assertEquals(new Rectangle(0, 0, 100, 200), new AreaOfInterest(100, 200, false, false).getAOI(-1, -1, 100, 200));
}
@Test
/* @Test
public void testGetAOIRuleOfThirdsN2N() {
enableRuleOfThirds();
assertEquals(new Rectangle(45, 90, 10, 20), new AreaOfInterest(100, 200, false, false).getAOI(-1, -1, 10, 20));
@@ -400,5 +399,5 @@ public class AreaOfInterestTestCase {
private void enableRuleOfThirds() {
System.setProperty("rule-of-thirds", "true");
}
}*/
}