Skip to content

Commit

Permalink
movable velocity and acceleration getters
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 authored and PixieCode committed Apr 7, 2013
1 parent e3db681 commit 42fd135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/movable.coffee
Expand Up @@ -40,7 +40,7 @@ test "should increase velocity according to acceleration", ->
60.times ->
particle.update(1/60)

equals particle.I.velocity.x, 11
equals particle.I.velocity.y,
equals particle.I.velocity.x, 0
equals particle.I.velocity.y, 30

module()

0 comments on commit 42fd135

Please sign in to comment.