wesnoth/data/test
Steve Cotton a42030eae2 Test calculations of abilities with add and sub
Fix a typo in the add_sub_separated test, because it was testing
exactly the same code as add_sub_cumulative.

Add two new tests and clarify documentation, because in these tests
the order of the abilities determines whether the add or sub value is
used, it isn't that sub always overrides add.

(cherry picked from commit 547de5fd93)
2024-09-08 16:28:39 +02:00
..
lua Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00
macros damage_type tests 2024-08-07 21:33:26 -05:00
maps Backstab unit tests: check that backstab works in a free-for-all 2024-01-26 14:35:07 +00:00
multiplayer switch from map_data to map_file in SP 2019-10-02 02:54:25 +02:00
plugin Move {join,host}.lua to a better place 2023-08-03 22:06:27 +02:00
scenarios Test calculations of abilities with add and sub 2024-09-08 16:28:39 +02:00
test Remove unused test file and images. 2018-10-07 03:22:49 +00:00
units Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00
_main.cfg damage_type tests 2024-08-07 21:33:26 -05:00
units.cfg Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00