changeset 71:a1e421d9c485

improved test suite
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Dec 2011 22:32:28 -0700
parents 0235c32152af
children 6f1c86126d51
files org/body.org org/test.org
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/org/body.org	Sun Dec 11 22:22:01 2011 -0700
     1.2 +++ b/org/body.org	Sun Dec 11 22:32:28 2011 -0700
     1.3 @@ -268,6 +268,7 @@
     1.4               "key-v" (fn [_ pressed?] (reset! roll-left? pressed?))
     1.5               "key-b" (fn [_ pressed?] (reset! roll-right? pressed?))})     
     1.6       (fn [world]
     1.7 +       (.setTimer world (NanoTimer.))
     1.8         (set-gravity world (Vector3f. 0 0 0))
     1.9         (.setMoveSpeed (.getFlyByCamera world) 50)
    1.10         (.setRotationSpeed (.getFlyByCamera world) 50)
     2.1 --- a/org/test.org	Sun Dec 11 22:22:01 2011 -0700
     2.2 +++ b/org/test.org	Sun Dec 11 22:32:28 2011 -0700
     2.3 @@ -57,7 +57,7 @@
     2.4     #'cortex.test.body/test-motor-control]
     2.5    "The full test suite for all sensors/effectors.")
     2.6  
     2.7 -(defn run-test-suite
     2.8 +(defn run-suite
     2.9    "Run the entire test-suite."
    2.10    []
    2.11    (dorun (map run-test test-suite)))
    2.12 @@ -65,7 +65,7 @@
    2.13  #+end_src
    2.14  
    2.15  #+results: body-main
    2.16 -: #'cortex.test/run-test-suite
    2.17 +: #'cortex.test/run-suite
    2.18  
    2.19  
    2.20  * COMMENT generate Source.