spec/parsing/note_parsing_spec.rb in music-transcription-0.15.0 vs spec/parsing/note_parsing_spec.rb in music-transcription-0.16.0

- old
+ new

@@ -10,20 +10,20 @@ 'duration + accent' => ['1/4!','/2!'], 'duration + articulation' => ['1/4.','/2%','2/3='], 'duration + articulation + accent' => ['1/4.!','/2%!','2/3=!'], 'single pitch' => ['/4C2','5/3Db3','/33E#8'], 'multiple pitches' => ['/4C2,C3,c5','5/3Db3,Bb2,E5','/33E#8,F1,B9'], - 'with articulation' => ['/4.C2',"5/3'Db3,Bb2,E5",'/33=F3','5-B2','/2_D3,F4'], + 'with articulation' => ['/4.C2',"5/3'Db3,Bb2,E5",'/33=F3','5|B2','/2_D3,F4'], 'with accent' => ['/4C2!','3/2Db3,Bb4!'], - 'with links' => ['/2C2=','/2C2=D2','/4D4-E4,G4~A5'], + 'with links' => ['/2C2=','/2C2=D2','/4D4|E4,G4~A5'], 'with single pitch + articulation + link + accent' => [ - '3/4.D2=!','5/8=F2=!','/8Db4-Db5!','/3_G4~B4!'], + '3/4.D2=!','5/8=F2=!','/8Db4|Db5!','/3_G4~B4!'], 'with multiple pitches + articulation + links + accent' => [ - '5/4.D2=,G4-A4,C3~D3!','5/8-F2=D4,B4/A4!'], + '5/4.D2=,G4|A4,C3~D3!','5/8|F2=D4,B4/A4!'], } invalid_cases = { - 'single pitch' => ['/4C22','5/3Hb-3','/33E-2'], - 'multiple pitches' => ['/4C20,C3,c5','5/3Db3,Bb-1,E5','/33H8,F1,B9'], + 'single pitch' => ['5/3Hb|3','/33E|2'], + 'multiple pitches' => ['5/3Db3,Bb|1,E5','/33H8,F1,B9'], 'with articulation' => ['/4[C2',"5/3>Db3"], 'with accent' => ['/4C2['], 'with links' => ['/2C2)'], }