示例#1
0
 // noteHashCodeTest()
 @Test
 public void noteHashCodeTest() {
   Note a = new Note(2, new Pitch('F'));
   Note b = new Note(2.0, new Pitch('E'));
   assertEquals(a.transpose(-1).hashCode(), b.hashCode());
 }