Jyrki Vesterinen 0fe2fd4c00 Fix the modify_ai_change_default_facet unit test
The test changes the default facet, which takes effect only if no other
facet takes priority. Thus, in turns 7 and 8, the test should expect attack
depth of 7, not 8.

Thanks to @CelticMinstrel for help.
2017-03-02 19:44:50 +02:00
..
2016-05-20 15:36:51 +02:00
2016-10-18 09:01:45 -05:00
2015-12-09 02:26:39 +01:00
2015-10-07 20:09:57 -04:00

This directory contains both the scenarios used by C++ unit tests and those which are
WML unit tests.

For the C++ unit tests, it is recommended to reuse the same scenario file as much as possible
and just inject WML into it.
Injection can be done by adding a config object containing event code and then registering that
manually for game_events.

WML unit tests are self-contained scenario files to test a specific area of WML. They can be
implemented with the GENERIC_UNIT_TEST macro.