mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-23 00:00:05 -04:00
Cleanup of AreaOfInterest
This commit is contained in:
committed by
Shihab Uddin
parent
be959ce3f3
commit
3628f3b392
+2
-3
@@ -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");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user