Enno Rehling
|
2c831230a0
|
Added a test for expensive skills.
When resetting the game rules, make sure basic resources (money, hp, person) are initialized.
|
2014-06-22 07:55:14 -07:00 |
|
Enno Rehling
|
762f1e467b
|
integration test for STUDY.
|
2014-06-21 09:17:10 -07:00 |
|
Enno Rehling
|
3625ba6a95
|
remove static variables optimizations, they create global state that is bad for testing
|
2014-06-17 23:10:55 -07:00 |
|
Enno Rehling
|
59b0f0f582
|
testing coasts, and that ships will only sail into terrains that's allowed.
|
2014-06-17 22:06:54 -07:00 |
|
Enno Rehling
|
b6b790d7e7
|
add a config.reset function to clear configuration state before tests.
|
2014-06-17 08:46:22 -07:00 |
|
Enno Rehling
|
33928568cf
|
finally have all the scaffolding to write a test with ships.
configure terrain flags from json.
ships are always allowed to enter SEA regions.
|
2014-06-16 22:19:19 -07:00 |
|
Enno Rehling
|
64e0c221ec
|
directions can now be read from json configuration.
rename a couple of functions for more consistency across modules.
|
2014-06-15 22:17:08 -07:00 |
|
Enno Rehling
|
812cb98dff
|
begin binding locales (need to init_locales in the right place, still).
fix indentation in some places.
add some assertions.
|
2014-06-14 07:52:32 -07:00 |
|
Enno Rehling
|
2033aabf60
|
new test suite, moving to new directory.
|
2014-06-13 17:35:43 -07:00 |
|