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

Method testFlatWrapping

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

Source from the content-addressed store, hash-verified

94 }
95
96 @Test
97 public void testFlatWrapping() {
98 Note note = Note.flat(1, Note.Tone.G);
99 assertTrue(note.isSharped());
100 assertThat(note.getTone(), is(Note.Tone.F));
101 }
102
103 @Test
104 public void testFlatWrapping2() {

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