mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
15 lines
347 B
Java
15 lines
347 B
Java
package org.bukkit;
|
|
|
|
import static org.hamcrest.CoreMatchers.*;
|
|
import static org.junit.Assert.*;
|
|
import org.junit.Test;
|
|
|
|
public class CropStateTest {
|
|
@Test
|
|
public void getByData() {
|
|
for (CropState cropState : CropState.values()) {
|
|
assertThat(CropState.getByData(cropState.getData()), is(cropState));
|
|
}
|
|
}
|
|
}
|