mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -07:00
16 lines
372 B
Java
16 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));
|
|
}
|
|
}
|
|
}
|