comparison org/test.org @ 71:a1e421d9c485

improved test suite
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Dec 2011 22:32:28 -0700
parents 0235c32152af
children 7e7f8d6d9ec5
comparison
equal deleted inserted replaced
70:0235c32152af 71:a1e421d9c485
55 #'cortex.test.hearing/test-advanced-hearing 55 #'cortex.test.hearing/test-advanced-hearing
56 #'cortex.test.body/test-proprioception 56 #'cortex.test.body/test-proprioception
57 #'cortex.test.body/test-motor-control] 57 #'cortex.test.body/test-motor-control]
58 "The full test suite for all sensors/effectors.") 58 "The full test suite for all sensors/effectors.")
59 59
60 (defn run-test-suite 60 (defn run-suite
61 "Run the entire test-suite." 61 "Run the entire test-suite."
62 [] 62 []
63 (dorun (map run-test test-suite))) 63 (dorun (map run-test test-suite)))
64 64
65 #+end_src 65 #+end_src
66 66
67 #+results: body-main 67 #+results: body-main
68 : #'cortex.test/run-test-suite 68 : #'cortex.test/run-suite
69 69
70 70
71 * COMMENT generate Source. 71 * COMMENT generate Source.
72 #+begin_src clojure :tangle ../src/cortex/test.clj 72 #+begin_src clojure :tangle ../src/cortex/test.clj
73 <<body-main>> 73 <<body-main>>