   equals obj.I.tubular, 4
 
 test "#addCooldown", 3, ->
-  obj = GameObject()
-
-  obj.include(Approachable)
-
   obj.addCooldown 'health'
 
   3.times ->

module "Approachable"

test "objects count down each of their cooldowns", 2, ->
  obj = GameObject
    bullet: 83
    cooldowns:
      bullet:
        target: 3
        approachBy: 1

  obj.include(Approachable)

  5.times ->
    obj.update()

  equals obj.I.bullet, 3, "bullet should not cool down part target value"

test "should handle negative value", ->
  obj.I = 
    powerup: -70
    cooldowns:
      powerup:
        target: 0
        approachBy: 1

  11.times ->
    obj.update()
