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

Method testSharpWrapping

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

Source from the content-addressed store, hash-verified

108 }
109
110 @Test
111 public void testSharpWrapping() {
112 Note note = new Note(1, Note.Tone.F, false).sharped();
113 assertTrue(note.isSharped());
114 assertThat(note.getTone(), is(Note.Tone.F));
115 assertEquals(note.getOctave(), 2);
116 }
117
118 @Test
119 public void testSharpWrapping2() {

Callers

nothing calls this directly

Calls 6

isSharpedMethod · 0.95
getToneMethod · 0.95
getOctaveMethod · 0.95
sharpedMethod · 0.80
isMethod · 0.65
assertThatMethod · 0.45

Tested by

no test coverage detected