use of com.xenoage.zong.core.music.chord.Chord in project Zong by Xenoage.
the class Test61a method test.
@Test
public void test() {
for (int iMeasure : range(3)) {
for (int iElement : range(iMeasure == 2 ? 3 : 4)) {
MP mp = MP.atElement(0, iMeasure, 0, iElement);
Chord chord = ChordTest.getChordAt(score, mp);
assertEqualsChordLyrics(expectedLyrics[iMeasure * 4 + iElement], chord, mp);
}
}
}
use of com.xenoage.zong.core.music.chord.Chord in project Zong by Xenoage.
the class Test61b method test.
@Test
public void test() {
for (int iMeasure : range(2)) {
for (int iElement : range(4)) {
MP mp = MP.atElement(0, iMeasure, 0, iElement);
Chord chord = ChordTest.getChordAt(score, mp);
assertEqualsChordLyrics(expectedLyrics[iMeasure * 4 + iElement], chord, mp);
}
}
}
use of com.xenoage.zong.core.music.chord.Chord in project Zong by Xenoage.
the class Test61e method test.
@Test
public void test() {
for (int iElement : range(4)) {
MP mp = MP.atElement(0, 0, 0, iElement);
Chord chord = ChordTest.getChordAt(score, mp);
assertEquals(expectedChordNotesCount[iElement], chord.getNotes().size());
assertEqualsChordLyrics(expectedLyrics[iElement], chord, mp);
}
}
Aggregations