Skip to content

Commit 4dff1d2

Browse files
committed
Add test for q-estimator
1 parent 035be8a commit 4dff1d2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import unittest
2+
3+
from src.algorithms.epsilon_greedy_q_estimator import EpsilonGreedyQEstimator, EpsilonGreedyQEstimatorConfig
4+
5+
6+
class TestEpsilonGreedyQEstimator(unittest.TestCase):
7+
8+
9+
def test_constructor(self):
10+
eps_q_estimator_config = EpsilonGreedyQEstimatorConfig()
11+
eps_q_estimator = EpsilonGreedyQEstimator(eps_q_estimator_config)
12+
self.assertIsNotNone(eps_q_estimator)
13+
14+
def test_on_state(self):
15+
pass
16+
17+
18+
19+
20+
21+
if __name__ == '__main__':
22+
unittest.main()

0 commit comments

Comments
 (0)