/** Test of getVelocity method, of class MidiNote. */
 @Test
 public void getVelocity() {
   System.out.println("getVelocity");
   int expResult = 0;
   MidiNote instance = new MidiNote(40, 10, 10, 0, expResult);
   int result = instance.getVelocity();
   assertEquals(expResult, result);
 }
 public static void assertMidiNoteEqual(
     MidiNote mn, int pitch, int velocity, long startTime, long duration, int channel) {
   assertEquals(pitch, mn.getPitch());
   assertEquals(velocity, mn.getVelocity());
   assertEquals(startTime, mn.getStartTime());
   assertEquals(duration, mn.getDuration());
   assertEquals(channel, mn.getChannel());
 }
 /** Test of setVelocity method, of class MidiNote. */
 @Test
 public void setVelocity() {
   System.out.println("setVelocity");
   int velocity = 68;
   MidiNote instance = new MidiNote();
   instance.setVelocity(velocity);
   int result = instance.getVelocity();
   assertEquals(velocity, result);
 }
 @Test
 public void defaultVelocityValue() {
   System.out.println("defaultVelocityValue");
   MidiNote instance = new MidiNote();
   assertEquals(MidiNote.DEFAULT_VELOCITY, instance.getVelocity());
 }