@Test
 public void testGetChords() {
   ChordProgression cp = new ChordProgression("I-vi7-ii-V7"); // This is a turnaround
   Chord[] chords = cp.setKey(new Key("Amaj")).getChords();
   Chord[] checklist =
       new Chord[] {
         new Chord("A4maj"), new Chord("F#5min7"), new Chord("B4min"), new Chord("E5maj7")
       };
   for (int i = 0; i < chords.length; i++) {
     assertTrue(chords[i].equals(checklist[i]));
   }
 }
 @Test
 public void testCreateChordProgressionWithDashes() {
   ChordProgression cp = new ChordProgression("I-vi7-ii-V7"); // This is a turnaround
   Pattern pattern = cp.setKey(new Key("Amajw")).getPattern();
   assertTrue(pattern.toString().equalsIgnoreCase("A4MAJw F#5MIN7w B4MINw E5MAJ7w"));
 }
 @Test
 public void testCreateChordProgressionWithSpaces() {
   ChordProgression cp = new ChordProgression("iv v i");
   Pattern pattern = cp.setKey(Key.DEFAULT_KEY).getPattern();
   assertTrue(pattern.toString().equalsIgnoreCase("F4MIN G4MIN C4MIN"));
 }