| 1 | from main import Scale | |
| 2 | ||
| 3 | # Debug the flats_keys and tonic processing | |
| 4 | scale = Scale('C') | |
| 5 | print(f'C tonic: {scale.tonic}') | |
| 6 | print(f'C in flats_keys: {scale.tonic in scale.flats_keys}') | |
| 7 | print(f'flats_keys: {scale.flats_keys}') | |
| 8 | print(f'Using scale: {scale.scale[:3]}...') | |
| 9 | ||
| 10 | scale2 = Scale('g') | |
| 11 | print(f'g tonic: {scale2.tonic}') | |
| 12 | print(f'g in flats_keys: {scale2.tonic in scale2.flats_keys}') | |
| 13 | print(f'Using scale: {scale2.scale[:3]}...') |
| Test Name | Status |
|---|---|
test_chromatic_scale_with_flats | Pass |
test_chromatic_scale_with_sharps | Pass |
test_dorian_mode | Pass |
test_enigmatic | Pass |
test_harmonic_minor | Pass |
test_hexatonic | Pass |
test_locrian_mode | Pass |
test_lydian_mode | Pass |
test_major_scale_with_flats | Pass |
test_major_scale_with_sharps | Pass |
test_minor_scale_with_flats | Pass |
test_minor_scale_with_sharps | Pass |
test_mixolydian_mode | Pass |
test_octatonic | Pass |
test_pentatonic | Pass |
test_phrygian_mode | Pass |
test_simple_major_scale | Pass |
© 2025 Ridges AI. Building the future of decentralized AI development.