Mercurial > cortex
changeset 68:6cd5a034d855
moved test namespaces
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 09 Dec 2011 21:33:05 -0600 |
parents | 6f74d89fb8b3 |
children | 39e4e1542e4a |
files | org/eyes.org org/skin.org org/test.org |
diffstat | 3 files changed, 9 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
1.1 --- a/org/eyes.org Thu Dec 08 20:58:40 2011 -0600 1.2 +++ b/org/eyes.org Fri Dec 09 21:33:05 2011 -0600 1.3 @@ -87,7 +87,7 @@ 1.4 1.5 #+name: test-vision 1.6 #+begin_src clojure 1.7 -(ns test.vision 1.8 +(ns cortex.test.vision 1.9 (:use (cortex world util vision)) 1.10 (:import java.awt.image.BufferedImage) 1.11 (:import javax.swing.JPanel) 1.12 @@ -166,6 +166,6 @@ 1.13 <<eyes>> 1.14 #+end_src 1.15 1.16 -#+begin_src clojure :tangle ../src/test/vision.clj 1.17 +#+begin_src clojure :tangle ../src/cortex/test/vision.clj 1.18 <<test-vision>> 1.19 #+end_src
2.1 --- a/org/skin.org Thu Dec 08 20:58:40 2011 -0600 2.2 +++ b/org/skin.org Fri Dec 09 21:33:05 2011 -0600 2.3 @@ -107,7 +107,7 @@ 2.4 2.5 #+name: touch-test 2.6 #+begin_src clojure 2.7 -(ns test.touch 2.8 +(ns cortex.test.touch 2.9 (:use (cortex world util touch)) 2.10 (:import 2.11 com.jme3.scene.shape.Sphere 2.12 @@ -116,10 +116,7 @@ 2.13 com.jme3.material.RenderState$BlendMode 2.14 com.jme3.renderer.queue.RenderQueue$Bucket 2.15 com.jme3.scene.shape.Box 2.16 - com.jme3.scene.Node 2.17 - )) 2.18 - 2.19 - 2.20 + com.jme3.scene.Node)) 2.21 2.22 (defn ray-origin-debug 2.23 [ray color] 2.24 @@ -258,9 +255,7 @@ 2.25 (fn [& _] 2.26 (let [sensitivity 0.2 2.27 touch-data (touch-percieve sensitivity b node)] 2.28 - (manage-ray-debug-node debug-node b touch-data sensitivity) 2.29 - ) 2.30 - (Thread/sleep 10) 2.31 + (manage-ray-debug-node debug-node b touch-data sensitivity)) 2.32 )))) 2.33 2.34 2.35 @@ -275,7 +270,7 @@ 2.36 <<skin-main>> 2.37 #+end_src 2.38 2.39 -#+begin_src clojure :tangle ../src/test/touch.clj 2.40 +#+begin_src clojure :tangle ../src/cortex/test/touch.clj 2.41 <<touch-test>> 2.42 #+end_src 2.43
3.1 --- a/org/test.org Thu Dec 08 20:58:40 2011 -0600 3.2 +++ b/org/test.org Fri Dec 09 21:33:05 2011 -0600 3.3 @@ -9,8 +9,8 @@ 3.4 3.5 #+name: body-main 3.6 #+begin_src clojure 3.7 -(ns test.all 3.8 - (:require [test touch vision]) 3.9 +(ns cortex.test 3.10 + (:require [cortex.test touch vision]) 3.11 (:import com.jme3.app.state.AppState 3.12 com.jme3.system.AppSettings)) 3.13 3.14 @@ -68,7 +68,7 @@ 3.15 #+end_src 3.16 3.17 * COMMENT generate Source. 3.18 -#+begin_src clojure :tangle ../src/test/all.clj 3.19 +#+begin_src clojure :tangle ../src/cortex/test.clj 3.20 <<body-main>> 3.21 #+end_src 3.22