Follow-up Comment #9, patch #1169 (project wesnoth):

I think that each test should have a 'victory condition' associated with it.
this condition should be checked (for example - each turn, or after the
specified number of turns), and yield (put into variable) one of several
results:
1) let the test run for another turn
2) let the test end with 'pass' (if possible, with a score)
3) let the test end with 'fail' (if possible, with a score)

This way we can run N tests in a row, and then print a table similar to
this:

Test0 - result0 - score0
Test1 - result1 - score1
Test2 - result2 - score2
...
Total tests: 40
Passed tests: 39
Failed tests: 1

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1169>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to