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

Method testFlatWrapping2

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

Source from the content-addressed store, hash-verified

101 }
102
103 @Test
104 public void testFlatWrapping2() {
105 Note note = new Note(1, Note.Tone.G, false).flattened();
106 assertTrue(note.isSharped());
107 assertThat(note.getTone(), is(Note.Tone.F));
108 }
109
110 @Test
111 public void testSharpWrapping() {

Callers

nothing calls this directly

Calls 5

isSharpedMethod · 0.95
getToneMethod · 0.95
flattenedMethod · 0.80
isMethod · 0.65
assertThatMethod · 0.45

Tested by

no test coverage detected