Skip to content

Commit

Permalink
adding more scale specs to test a minor scale, and a scale with flats
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink committed Oct 21, 2016
1 parent 473d85e commit ddfc6cd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/scale_spec.cr
Expand Up @@ -17,5 +17,15 @@ describe Medley::Scale do
scale = Medley::Scale.new("Dmaj")
scale.notes.should eq(["D", "E", "F#", "G", "A", "B", "C#", "D"])
end

it "returns an array of letters Bb Major scale order" do
scale = Medley::Scale.new("Bbmaj")
scale.notes.should eq(["Bb", "C", "D", "Eb", "F", "G", "A", "Bb"])
end

it "returns an array of letters in the C minor scale order" do
scale = Medley::Scale.new("Cmin")
scale.notes.should eq(["C", "D", "Eb", "F", "G", "Ab", "Bb", "C"])
end
end
end

0 comments on commit ddfc6cd

Please sign in to comment.