@Test public void testGetLowestOctave3() { s1.addNote(0, 2, 5, 50, 1, 100); s1.addNote(5, 7, 5, 5, 2, 100); assertEquals(s1.getLowestOctave(), 2); s1.changeNote(0, 2, 5, 50, 1, 100, 0, 0, 10, 12, 1, 100); assertEquals(s1.getLowestOctave(), 0); }
@Test public void testGetLowestOctave4() { s1.addNote(0, 2, 5, 50, 1, 100); s1.addNote(5, 7, 5, 5, 2, 100); assertEquals(s1.getLowestOctave(), 2); s1.removeNote(0, 2, 5, 50, 1, 100); assertEquals(s1.getLowestOctave(), 7); }