gameboy_worlds.interface.sword_of_hope.environments

1from gameboy_worlds.interface.environment import DummyEnvironment, TestEnvironmentMixin
2
3
4class SwordOfHope1TestEnvironment(TestEnvironmentMixin, DummyEnvironment):
5    pass
6
7
8class SwordOfHope2TestEnvironment(TestEnvironmentMixin, DummyEnvironment):
9    pass
class SwordOfHope1TestEnvironment(typing.Generic[~ObsType, ~ActType]):
5class SwordOfHope1TestEnvironment(TestEnvironmentMixin, DummyEnvironment):
6    pass

Mixin class for testing environments. Ensures the State Tracker used is a TestTrackerMixin and checks these for termination / truncation.

class SwordOfHope2TestEnvironment(typing.Generic[~ObsType, ~ActType]):
 9class SwordOfHope2TestEnvironment(TestEnvironmentMixin, DummyEnvironment):
10    pass

Mixin class for testing environments. Ensures the State Tracker used is a TestTrackerMixin and checks these for termination / truncation.