test('have a seventh', () => {
    const chord = new ClosedChord(Pitch.C, ChordPattern.Major7, Duration.Quarter, Octave.C4);
    expect(chord.pitchForFunction(ChordFunction.Seventh)).toBe(Pitch.B);
  });