Skip to content

Commit

Permalink
Fix scale tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsanders committed Jan 20, 2024
1 parent 0398dce commit e99fdc1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/scales.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

@testset "Scale indexing" begin
scale = Scale(D[4], major_scale)
@test scale[0] == D[4]
@test scale[6] == C♯[5]
@test scale[7] == D[5]
@test scale[-1] == C♯[4]
@test scale[-2] == B[3]
@test scale[2] == E[4]
@test scale[8] == D[5]
@test scale[-1] == D[4]
@test scale[-2] == C♯[4]
@test scale[-3] == B[3]
end


Expand Down

0 comments on commit e99fdc1

Please sign in to comment.