tests: add ./examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit
authorJean Privat <jean@pryen.org>
Thu, 25 Oct 2012 15:18:47 +0000 (11:18 -0400)
committerJean Privat <jean@pryen.org>
Thu, 25 Oct 2012 15:53:39 +0000 (11:53 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/Makefile
tests/niti.skip
tests/sav/leapfrog.res [new file with mode: 0644]
tests/sav/shoot_logic.res [new file with mode: 0644]

index 903f985..bc325ae 100644 (file)
@@ -1,5 +1,5 @@
 
-PROGS=*.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitstats.nit ../src/nitg.nit
+PROGS=*.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit ../lib/*.nit ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitstats.nit ../src/nitg.nit
 
 all: separate global niti nitg icode
 
index 781190f..4b57017 100644 (file)
@@ -3,3 +3,4 @@ init_inherit
 init_linext
 inline
 test_ni_
+shoot_logic
diff --git a/tests/sav/leapfrog.res b/tests/sav/leapfrog.res
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/sav/shoot_logic.res b/tests/sav/shoot_logic.res
new file mode 100644 (file)
index 0000000..b1f4032
--- /dev/null
@@ -0,0 +1,13 @@
+Headless run
+Play
+0: money=25 enemies=4 shoots=12
+1: money=12 enemies=0 shoots=25
+2: money=50 enemies=3 shoots=27
+3: money=90 enemies=3 shoots=25
+4: money=17 enemies=0 shoots=30
+5: money=4 enemies=0 shoots=32
+6: money=54 enemies=0 shoots=42
+7: money=14 enemies=5 shoots=37
+8: money=79 enemies=3 shoots=43
+9: money=56 enemies=0 shoots=40
+Game Over