MCPcopy Create free account
hub / github.com/PaperMC/Paper / getToneByData

Method getToneByData

paper-api/src/test/java/org/bukkit/NoteTest.java:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10public class NoteTest {
11 @Test
12 public void getToneByData() {
13 for (Note.Tone tone : Note.Tone.values()) {
14 assertThat(Note.Tone.getById(tone.getId()), is(tone));
15 }
16 }
17
18 @Test
19 public void verifySharpedData() {

Callers

nothing calls this directly

Calls 5

valuesMethod · 0.65
getByIdMethod · 0.65
getIdMethod · 0.65
isMethod · 0.65
assertThatMethod · 0.45

Tested by

no test coverage detected