@Test public void testGetHighestOctave4() { s1.addNote(0, 2, 5, 50, 1, 100); s1.addNote(5, 7, 5, 5, 2, 100); assertEquals(s1.getHighestOctave(), 7); s1.removeNote(5, 7, 5, 5, 2, 100); assertEquals(s1.getHighestOctave(), 2); }
@Test public void testGetHighestOctave3() { s1.addNote(0, 2, 5, 50, 1, 100); s1.addNote(5, 7, 5, 5, 2, 100); assertEquals(s1.getHighestOctave(), 7); s1.changeNote(0, 2, 5, 50, 1, 100, 0, 8, 10, 12, 1, 100); assertEquals(s1.getHighestOctave(), 8); }