-
Notifications
You must be signed in to change notification settings - Fork 113
/
test_defaultgym_compat.py
43 lines (32 loc) · 1.7 KB
/
test_defaultgym_compat.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (c) 2023, RTE (https://www.rte-france.com)
# See AUTHORS.txt
# This Source Code Form is subject to the terms of the Mozilla Public License, version 2.0.
# If a copy of the Mozilla Public License, version 2.0 was not distributed with this file,
# you can obtain one at http://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0
# This file is part of Grid2Op, Grid2Op a testbed platform to model sequential decision making in power systems.
from _aux_test_gym_compat import (AuxilliaryForTest,
_AuxTestGymCompatModule,
_AuxTestBoxGymObsSpace,
_AuxTestBoxGymActSpace,
_AuxTestMultiDiscreteGymActSpace,
_AuxTestDiscreteGymActSpace,
_AuxTestAllGymActSpaceWithAlarm,
_AuxTestGOObsInRange)
import unittest
class TestGymCompatModule(_AuxTestGymCompatModule, AuxilliaryForTest, unittest.TestCase):
pass
class TestBoxGymObsSpace(_AuxTestBoxGymObsSpace, AuxilliaryForTest, unittest.TestCase):
pass
class TestBoxGymActSpace(_AuxTestBoxGymActSpace, AuxilliaryForTest, unittest.TestCase):
pass
class TestMultiDiscreteGymActSpace(_AuxTestMultiDiscreteGymActSpace, AuxilliaryForTest, unittest.TestCase):
pass
class TestDiscreteGymActSpace(_AuxTestDiscreteGymActSpace, AuxilliaryForTest, unittest.TestCase):
pass
class TestAllGymActSpaceWithAlarm(_AuxTestAllGymActSpaceWithAlarm, AuxilliaryForTest, unittest.TestCase):
pass
class TestGOObsInRange(_AuxTestGOObsInRange, AuxilliaryForTest, unittest.TestCase):
pass
if __name__ == "__main__":
unittest.main()