Skip to content

Update testing for pygambit integration #23

@edwardchalstrey1

Description

@edwardchalstrey1

At the moment, we just rely on the tests/test_tutorials.py running the tutorial/draw_efg_gambitLayout.ipynb notebook, but it might be better to write more rigorous tests for this.

  • Add pytest tests specific to src/core/gambit_layout.py
  • Add tests where the gambit object has no player labels (use numbers to denote players "Player 1" etc)
  • Ensure multiplier and xshift args cannot cause errors
  • Include an example of a pygambit game loaded from the OpenSpiel library e.g. tiny hanabi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions