wesnoth/data/test/maps
Steve Cotton 84b1a778ae Backstab unit tests: check that backstab works in a free-for-all
The units on the outsides of a backstab don't have to be allied
to each other, they just have to be enemies of the victim. That's
hardcoded into the AI via attack.cpp's backstab_check() function,
hence a unit test to check that WEAPON_SPECIAL_BACKSTAB activates
in that situation.

Add a new map with 4 sides all on separate castles. This is a
variation of the generic 2p unit test map, extended in the south
with a horizontal reflection of existing map.

Add a MAP_FILE argument to COMMON_KEEP_A_B_C_D_UNIT_TEST,
because it's the same setup except for the map file.
2024-01-26 14:35:07 +00:00
..
2p_single_castle.map Unit tests for [drains], [poison] and [slow], with apply_to=opponent 2022-04-19 15:27:49 +02:00
4p_separate_castles.map Backstab unit tests: check that backstab works in a free-for-all 2024-01-26 14:35:07 +00:00
4p_single_castle.map fix [firststrike] special with apply_to=opponent crashes Wesnoth 1.17.x (#6574) 2022-04-08 02:30:14 +02:00
generic_unit_test.map Add some additional cases to the move_unit test, and fix a few issues that they revealed 2019-12-10 21:16:06 -05:00
move_skip_sighted.map Add unit tests for check victory function 2014-05-22 17:21:53 -04:00
pathfind_1.cfg Replace deprecated share_maps and share_view with share_vision. 2022-02-15 22:08:03 +11:00
sighted_events.map add sighted events unit tests 2014-05-16 18:09:52 -04:00
simple_find_path.map Add [find_path] option "nearest_by", and simple_find_path test 2019-09-11 11:17:56 +02:00
test_grunt_tod_damage.map move test_grunt_tod_damage map to a map file 2014-05-16 17:11:27 -04:00
test_hills_square.mask Resolve [terrain_mask]mask_file= relative to the [binary_path] like map_file= is 2021-05-11 14:52:22 -04:00
test_movetype.map Add unit tests for movement and vision costs 2019-07-22 17:18:20 +02:00