Commit 4ac14795 authored by Dr.李's avatar Dr.李

modified tests for naive executor

parent 9bb86b11
......@@ -35,6 +35,7 @@ class TestNaiveExecutor(unittest.TestCase):
'weight': [0.3, 0.2, 0.5],
'industry': ['a', 'c', 'd']})
turn_over, executed_pos = executor.execute(target_pos)
self.assertAlmostEqual(turn_over, 0.4)
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment