Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
TimFelixBeyer authored Feb 24, 2024
1 parent 944b985 commit e11427c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions music21/harmony.py
Original file line number Diff line number Diff line change
Expand Up @@ -3162,6 +3162,12 @@ def testExpressSusUsingAlterations(self):

self.assertEqual(ch1.pitches, ch2.pitches)

def testDoubledCharacters(self):
ch1 = ChordSymbol('Co omit5')
ch2 = ChordSymbol('Cdim omit5')

self.assertEqual(ch1.pitches, ch2.pitches)

def x_testPower(self):
'''
power chords should not have inversions
Expand Down

0 comments on commit e11427c

Please sign in to comment.