mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
ac2271958e
By: Erik Broes <erikbroes@grum.nl>
15 lines
372 B
Java
15 lines
372 B
Java
package org.bukkit;
|
|
|
|
import static org.hamcrest.CoreMatchers.is;
|
|
import static org.junit.Assert.assertThat;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class TreeSpeciesTest {
|
|
@Test
|
|
public void getByData() {
|
|
for (TreeSpecies treeSpecies : TreeSpecies.values()) {
|
|
assertThat(TreeSpecies.getByData(treeSpecies.getData()), is(treeSpecies));
|
|
}
|
|
}
|
|
}
|