Archived
0

добавлены тесты для SimpleWorld

This commit is contained in:
2018-10-09 01:12:12 +03:00
parent 1ffbead1f6
commit e1c3919c73
7 changed files with 137 additions and 21 deletions

View File

@@ -5,8 +5,7 @@ import org.junit.jupiter.api.Test;
import java.util.concurrent.ThreadLocalRandom;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.*;
class EntityLocationTest {
private static final ThreadLocalRandom rnd = ThreadLocalRandom.current();
@@ -42,6 +41,7 @@ class EntityLocationTest {
EntityLocation locOrig = new EntityLocation(x, y, z, yaw, pitch);
EntityLocation locClone = locOrig.clone();
assertEquals(locOrig, locClone);
assertNotSame(locOrig, locClone);
}
@Test