[wesnoth-commits] [wesnoth/wesnoth] 556c66: Refactor the backstab unit test

Steve Cotton noreply at github.com
Wed Feb 2 19:46:49 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 556c66e4d0e6e20462282134c4f487ffcb0934fc
      https://github.com/wesnoth/wesnoth/commit/556c66e4d0e6e20462282134c4f487ffcb0934fc
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2022-02-02 (Wed, 02 Feb 2022)

  Changed paths:
    M data/test/scenarios/backstab.cfg
    M wml_test_schedule

  Log Message:
  -----------
  Refactor the backstab unit test

Based on Pentarctagon's documentation addition, and also improving
the encapsulation of the test to take a boolean value for whether
the ability should be active instead of the expected damage total.





More information about the Commits mailing list