/**
* test constructor Sequence(float, int)
*/
public void test_constructor1() throws Exception {
Sequence seq0 = new Sequence(Sequence.PPQ, 10, 2);
seq0.getTracks();
new Sequence(Sequence.PPQ, 10);
Sequence seq2 = new Sequence(Sequence.SMPTE_24, -10);
new Sequence(Sequence.SMPTE_25, 9854);
new Sequence(Sequence.SMPTE_30, -82534);
new Sequence(Sequence.SMPTE_30DROP, 0);
try {
new Sequence(32.0f, 16);
fail("InvalidMidiDataException expected");
} catch (InvalidMidiDataException e) {}
assertEquals(24.0f, seq2.getDivisionType(), 0f);
assertEquals(0, seq2.getMicrosecondLength());
assertEquals(-10, seq2.getResolution());
assertEquals(0, seq2.getTickLength());
assertEquals(0, seq2.getPatchList().length);
assertEquals(0, seq2.getTracks().length);
}