PaperMC/paper-api/src/test/java/org/bukkit/GameModeTest.java
Bukkit/Spigot e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00

14 lines
343 B
Java

package org.bukkit;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
import org.junit.Test;
public class GameModeTest {
@Test
public void getByValue() {
for (GameMode gameMode : GameMode.values()) {
assertThat(GameMode.getByValue(gameMode.getValue()), is(gameMode));
}
}
}