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

Method doo

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

Source from the content-addressed store, hash-verified

133 }
134
135 @Test
136 public void doo() {
137 for (int i = 1; i <= 24; i++) {
138 Note note = new Note((byte) i);
139 int octave = note.getOctave();
140 Note.Tone tone = note.getTone();
141 boolean sharped = note.isSharped();
142
143 Note newNote = new Note(octave, tone, sharped);
144 assertThat(newNote, is(note));
145 assertThat(newNote.getId(), is(note.getId()));
146 }
147 }
148}

Callers

nothing calls this directly

Calls 6

getOctaveMethod · 0.95
getToneMethod · 0.95
isSharpedMethod · 0.95
getIdMethod · 0.95
isMethod · 0.65
assertThatMethod · 0.45

Tested by

no test coverage detected