-
Notifications
You must be signed in to change notification settings - Fork 257
TEST: Write better tests for mixed strategy profiles #374
Copy link
Copy link
Closed
Labels
good-first-issueItems which are (relatively) straightforward, and good ways to get into the codeItems which are (relatively) straightforward, and good ways to get into the codepythonItems which involve coding in PythonItems which involve coding in PythontestsItems which involve the pygambit test suiteItems which involve the pygambit test suite
Milestone
Metadata
Metadata
Assignees
Labels
good-first-issueItems which are (relatively) straightforward, and good ways to get into the codeItems which are (relatively) straightforward, and good ways to get into the codepythonItems which involve coding in PythonItems which involve coding in PythontestsItems which involve the pygambit test suiteItems which involve the pygambit test suite
Type
Fields
Give feedbackNo fields configured for issues without a type.
There is currently a simple set of tests on mixed strategy profiles (see
src/pygambit/tests/test_mixed.py). At the moment these tests do exercise the code to ensure the function calls are defined, but the tests are done on a trivial strategic game with payoffs all equal to zero, so the payoff, strategy value, and liap value calculations are not very interesting.Design a set of fixtures/parameterisations for these tests which exercise the calculations on more interesting games and mixed strategy profiles.