Skip to content

Commit

Permalink
Tests - add another assertion for line constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed May 11, 2015
1 parent 895de79 commit 2de7bd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/server/sonicpi/test/test_ring.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def test_line
assert_equal([0, 1, 2, 3, 4], line(0, 4, steps: 5, inclusive: true))
assert_equal([0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5], line(0, 4, steps: 8))
assert_equal([5, 4, 3, 2, 1], line(5, 0, steps: 5))
assert_equal([0, 0.5], line(0, 1, steps: 2))
assert_equal(line(1, 3).class, SonicPi::Core::RingVector)
end

Expand Down

0 comments on commit 2de7bd3

Please sign in to comment.