mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
parent
8672defea5
commit
5690a0ab1f
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import net.minecraft.world.entity.EntityPose;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class EntityPoseTest {
|
||||
|
||||
@Test
|
||||
public void testBukkitToMinecraft() {
|
||||
for (Pose pose : Pose.values()) {
|
||||
assertNotNull(EntityPose.values()[pose.ordinal()], pose.name());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMinecraftToBukkit() {
|
||||
for (EntityPose entityPose : EntityPose.values()) {
|
||||
assertNotNull(Pose.values()[entityPose.ordinal()], entityPose.name());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue