Chris Beck
94fdab4389
add sighted events unit tests
2014-05-16 18:09:52 -04:00
Chris Beck
9df026f8e8
move test_grunt_tod_damage map to a map file
2014-05-16 17:11:27 -04:00
Chris Beck
7b6a1ec74d
fixup messed up whitespace and similar
2014-05-15 22:12:59 -04:00
Chris Beck
89f67d1a5d
add fixed_lua_random_replay test
2014-05-13 21:27:17 -04:00
Chris Beck
92bbf8c02c
add "break replay with lua random" test
2014-05-13 20:58:42 -04:00
Chris Beck
c52e5ed410
add sanity checks for unit test mechanism
...
also, reorganize the test schedule file
2014-05-11 01:57:49 -04:00
Chris Beck
e3d47b5f02
rename wml unit tests
...
tests should have helpful names and not numbers
2014-05-11 01:38:09 -04:00
Chris Beck
a37ec8bbdb
make [command] [attack] handler a bit friendlier
...
Now, it won't warn about mismatch with gamestate when you don't
specify attacker_type or defender_type.
Simplify unit test 6 accordingly.
2014-05-10 22:41:54 -04:00
Chris Beck
654c066550
refactor test #6 to use [do_command]
2014-05-10 22:26:39 -04:00
Chris Beck
c611481e26
fixup readme.txt
...
fixed a typo, added a clarifying sentence about C++ / WML tests
2014-05-09 23:37:03 -04:00
Chris Beck
8f10e6e84c
fixup whitespace in unit_test_5.cfg
2014-05-09 01:47:13 -04:00
Chris Beck
e96f6e3ef2
add unit tests 5 and 6
...
Unit test 5 checks that units placed at off-map coordinates end up
in the recall list of their side.
Unit test 6 checks that grunts (without traits) are doing the
right amount of damage at day, dusk, and night.
Also add these to the script.
2014-05-09 00:00:17 -04:00
Chris Beck
9df86d5420
add unit test 4, which AI wrote in github comments
2014-05-08 17:51:21 -04:00
Chris Beck
634ee2d1d8
add wml unit tests two and three
...
- test two tests a basic property of events
- test three tests unit placement on the map in
case of a collision
2014-04-08 18:09:50 -04:00
Chris Beck
0797abd9ea
add WML unit test examples, and include the test directory
...
add some trivial tests, and the _main.cfg files to ensure they are included
2014-04-08 18:09:32 -04:00
Alexander van Gessel
54f98f5d9e
s/{@/{/g on mainline WML.
2009-03-24 23:05:19 +01:00
Pauli Nieminen
5d756ba985
Hacked play_scenario test code to work for formula ai testing
2008-09-05 09:59:17 +00:00
Pauli Nieminen
e9fd73193a
WIP test/play_scenario
2008-09-05 09:59:00 +00:00
Pauli Nieminen
ccc03df4b4
Moved test data to data/test/
2008-08-19 08:34:38 +00:00