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

Method verifySharpedData

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

Source from the content-addressed store, hash-verified

16 }
17
18 @Test
19 public void verifySharpedData() {
20 for (Note.Tone tone : Note.Tone.values()) {
21 if (!tone.isSharpable()) return;
22
23 assertFalse(tone.isSharped(tone.getId(false)));
24 assertTrue(tone.isSharped(tone.getId(true)));
25 }
26 }
27
28 @Test
29 public void verifyUnknownToneData() {

Callers

nothing calls this directly

Calls 4

isSharpableMethod · 0.80
valuesMethod · 0.65
getIdMethod · 0.65
isSharpedMethod · 0.45

Tested by

no test coverage detected