fix speed and start tests

This commit is contained in:
Peter Tillemans 2024-04-25 23:05:15 +02:00
parent 508f52ef2c
commit 557655e603
3 changed files with 6 additions and 2 deletions

View file

@ -4,3 +4,7 @@
(in-package :flappy-ball-test)
(def-suite all-tests)
(in-suite all-tests)

View file

@ -9,7 +9,7 @@
:in-order-to ((asdf:test-op (test-op "flappy-ball-test"))))
(asdf:defsystem "flappy-ball/test"
:depends-on ("flappy-ball fiveam")
:depends-on ("flappy-ball" "fiveam")
:components ((:file "flappy-ball-test"))
:perform (asdf:test-op (o c)
(funcall (intern (format nil "RUN-~A" (symbol-name (asdf:component-name c)))))))

View file

@ -11,7 +11,7 @@
(copy-pixels nil)
(ball (list (/ width 10) (/ height 3) 0))
(gravity 0.05)
(flap-speed -0.25)
(flap-speed -2.5)
(ball-pen (make-pen :stroke (gray 0.5) :fill sketch:+yellow+ :weight 1))
(pipe-pen (make-pen :stroke (gray 0.5) :fill sketch:+green+ :weight 1))
(pipes '((200 200 100) (400 300 100) (600 400 100)))