Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
0f4c206f9b
Cleaned up all of the CraftBukkit tests, including moving some tests from MaterialTest to PerMaterialTest.
19 Zeilen
382 B
Java
19 Zeilen
382 B
Java
package org.bukkit;
|
|
|
|
import static org.junit.Assert.*;
|
|
import static org.hamcrest.Matchers.*;
|
|
|
|
import org.bukkit.craftbukkit.CraftSound;
|
|
import org.junit.Test;
|
|
|
|
|
|
public class SoundTest {
|
|
|
|
@Test
|
|
public void testGetSound() {
|
|
for (Sound sound : Sound.values()) {
|
|
assertThat(sound.name(), CraftSound.getSound(sound), is(not(nullValue())));
|
|
}
|
|
}
|
|
}
|