mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-17 01:15:52 +02:00
15 lines
361 B
Java
15 lines
361 B
Java
package org.bukkit;
|
|
|
|
import static org.hamcrest.CoreMatchers.*;
|
|
import static org.junit.Assert.*;
|
|
import org.junit.Test;
|
|
|
|
public class TreeSpeciesTest {
|
|
@Test
|
|
public void getByData() {
|
|
for (TreeSpecies treeSpecies : TreeSpecies.values()) {
|
|
assertThat(TreeSpecies.getByData(treeSpecies.getData()), is(treeSpecies));
|
|
}
|
|
}
|
|
}
|