use of material.beam.slant.ChlapikBeamSlant in project Zong by Xenoage.
the class SingleStaffBeamSlanterTest method computeTest.
@Test
public void computeTest() {
// use tests from Ross and Chlapik
for (Suite<Example> suite : alist(new RossBeamSlant(), new ChlapikBeamSlant())) {
for (Example example : suite.getExamples()) {
float expectedSlant = example.getSlantIs();
Slant slant = testee.compute(example.getStems(), example.staffLines);
assertSlantContains(expectedSlant, slant, suite.getName() + ": " + example.name);
}
}
}
Aggregations