mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 04:18:34 +00:00
Add support for copying entities between Extents.
This commit is contained in:
@ -51,25 +51,6 @@ public class LocationTest {
|
||||
assertEquals(world2, location2.getExtent());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetDirection() throws Exception {
|
||||
World world = mock(World.class);
|
||||
Vector direction = new Vector(1, 1, 1);
|
||||
Location location = new Location(world, new Vector(), direction);
|
||||
assertEquals(direction, location.getDirection());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSetDirection() throws Exception {
|
||||
World world = mock(World.class);
|
||||
Vector direction1 = new Vector(1, 1, 1);
|
||||
Vector direction2 = new Vector(2, 2, 2);
|
||||
Location location1 = new Location(world, new Vector(), direction1);
|
||||
Location location2 = location1.setDirection(direction2);
|
||||
assertEquals(direction1, location1.getDirection());
|
||||
assertEquals(direction2, location2.getDirection());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToVector() throws Exception {
|
||||
World world = mock(World.class);
|
||||
|
Reference in New Issue
Block a user