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

Method createNoteFlat

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

Source from the content-addressed store, hash-verified

80 }
81
82 @Test
83 public void createNoteFlat() {
84 Note note = Note.flat(0, Note.Tone.D);
85 assertTrue(note.isSharped());
86 assertThat(note.getTone(), is(Note.Tone.C));
87 }
88
89 @Test
90 public void createNoteFlatNonFlattenable() {

Callers

nothing calls this directly

Calls 5

flatMethod · 0.95
isSharpedMethod · 0.95
getToneMethod · 0.95
isMethod · 0.65
assertThatMethod · 0.45

Tested by

no test coverage detected