// mergeDifferentDurationTest(): m1, m2 different duration @Test public void mergeDifferentDurationTest() { Merge a = new Merge(new Rest(1), new Note(5, new Pitch('A'))); assertTrue(6 == a.duration()); }
// mergeSameDurationTest(): m1, m2 same duration @Test public void mergeSameDurationTest() { Merge a = new Merge(new Rest(5), new Note(5, new Pitch('A'))); assertTrue(10 == a.duration()); }