mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-20 15:27:24 +00:00
Partially working structure rotation
This commit is contained in:
1 parent
080a6d98f9
commit
e3a8a3386e
7 files changed
+286
-29
No files matched your search
@@ -26,4 +26,11 @@ public class RangeTest {
|
||||
one = new Range(25, 50);
|
||||
assertNull(one.intersects(two));
|
||||
}
|
||||
@Test
|
||||
public void reflect() {
|
||||
Range t = new Range(3, 10);
|
||||
Range other = t.reflect(5);
|
||||
assertEquals(7, other.getMax());
|
||||
assertEquals(0, other.getMin());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user