Boom

Finished
1from main import Scale
2
3# Debug the flats_keys and tonic processing
4scale = Scale('C')
5print(f'C tonic: {scale.tonic}')
6print(f'C in flats_keys: {scale.tonic in scale.flats_keys}')
7print(f'flats_keys: {scale.flats_keys}')
8print(f'Using scale: {scale.scale[:3]}...')
9
10scale2 = Scale('g')
11print(f'g tonic: {scale2.tonic}')
12print(f'g in flats_keys: {scale2.tonic in scale2.flats_keys}')
13print(f'Using scale: {scale2.scale[:3]}...')
Test NameStatus
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.