예제 #1
0
 // chordEqualsFalseWrongOrderTest(): musics are identical but in wrong order
 @Test
 public void chordEqualsFalseWrongOrderTest() {
   Chord a = new Chord(new Note(2, new Pitch('C')), new Note(5, new Pitch('A')));
   Chord b = new Chord(new Note(5, new Pitch('A')), new Note(2, new Pitch('C')));
   assertFalse(a.equals(b));
 }