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 a7b8a53 commit 0ba2c14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/movable.coffee
Expand Up @@ -37,8 +37,8 @@ test "should increase velocity according to acceleration", ->
velocity: Point(7, 4)
acceleration: Point(1, -0.3)

100.times ->
particle.update(4)
60.times ->
particle.update(4)

equals particle.I.velocity.x, 11
equals particle.I.velocity.y, 2.8
Expand Down

0 comments on commit 0ba2c14

Please sign in to comment.