forked from minosworld/unreal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
27 lines (21 loc) · 765 Bytes
/
test.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
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import unittest
import train.experience_test
import train.rmsprop_applier_test
import environment.environment_test
import model.model_test
def get_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(train.experience_test.TestExperience))
suite.addTest(unittest.makeSuite(train.rmsprop_applier_test.TestRMSPropApplier))
suite.addTest(unittest.makeSuite(environment.environment_test.TestEnvironment))
suite.addTest(unittest.makeSuite(model.model_test.TestUnrealModel))
return suite
def main():
suite = get_suite()
unittest.TextTestRunner().run(suite)
if __name__ == '__main__':
main()