Commit Graph

68 Commits

Author SHA1 Message Date
Enno Rehling 59f3ebef68 fix some tests 2011-02-27 08:51:17 +01:00
Enno Rehling cc9e95a2ab spells.lua is a bad file for example and meropis, it tests things that not every game has.
lua_pushinteger() must be new, I've never used it before.
all tests in meropis and example pass.
2011-02-26 23:21:12 -08:00
Enno Rehling c810b72845 Some test requires that a cart exists.
Meropis gets its own list of items.
2011-02-26 22:57:42 -08:00
Enno Rehling e8d00d8744 test error conditions fixed by the last commit. 2011-02-19 06:15:15 -08:00
Enno Rehling d033e7156c Simple tests for persistent attributes and a fix. 2011-02-19 06:13:24 -08:00
Enno Rehling b07f40c02e test the bson functionality, and provide examples for using it 2011-02-06 08:41:14 +01:00
Enno Rehling d3a7d22253 http://bugs.eressea.de/view.php?id=1679
Applying a patch provided by Solthar: Server will give error when unit is given more than one long order.
I just added a test to this.
2010-11-11 20:11:19 -08:00
Enno Rehling e7ce28a258 http://bugs.eressea.de/view.php?id=1814
fix a quoting bug in the order parser,
add a very basic test to make sure order parsing works.
2010-11-05 22:54:29 -07:00
Enno Rehling 12828f0edd for planes that have no name, do not print a comma after the coordinates (this has irritated me in E3).
also: add tests for this, and add a way to assert on content in reports.
2010-11-05 21:21:49 -07:00
Enno Rehling 0472c35647 * clean up the test setup
* test horses, carts and their capacities
2010-10-31 23:31:56 -07:00
Enno Rehling c5418fc28b E3 does not have a boat, so tests needs to create a canoe sometimes 2010-10-31 19:46:08 -07:00
Enno Rehling 101ff092d5 new test: verify that units swim after terraforming, and can get picked up by boats in the turn thereafter. 2010-10-31 19:34:55 -07:00
Enno Rehling f1f46782f7 * fix some rules to not use static variables across multiple runs
* add tests for upkeep
* add a config setting to disable upkeep in tests
* add a config setting to disable random factor in studying
2010-10-08 23:39:16 -07:00
Enno Rehling 1f489bafee broken test of magic skill cost (magician must not be human in e3) 2010-08-28 13:41:02 -07:00
Enno Rehling 592d0c377b Add a test that verifies learning magic costs money. 2010-08-16 23:55:53 -07:00
Enno Rehling a5e712580f undo more CRLF screwups. 2010-08-08 01:14:01 -07:00
Enno Rehling 14b3ed309f use external folder for all libraries (VS2010)
new repository structure
2010-08-07 23:05:54 -07:00
Enno Rehling 72505ab8f3 moving to a new repository layout.
step 1: shared folder.
2010-08-07 22:07:17 -07:00