We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python
rtamt/tests/python/api/test_stl_discrete_time_online_specification.py
Lines 112 to 131 in 9a0ddb1
C++
rtamt/tests/python/api/test_stl_discrete_time_online_specification_cpp.py
Is that OK?
The text was updated successfully, but these errors were encountered:
Can you please check the branch 154_division? All tests pass with Python 2.7 for me.
Sorry, something went wrong.
@nickovic The test us passed, but the problem is the test case itself different between cpp and python.
self.assertEqual(out1, 100 / 20, "input 1") self.assertEqual(out2, -1 / -2, "input 2") self.assertEqual(out3, -2 / 10, "input 3") self.assertEqual(out4, 5 / 4, "input 4") self.assertEqual(out5, -1 / -1, "input 5")
CPP
self.assertEqual(out1, 100.0 / 20.0, "input 1") self.assertEqual(out2, -1.0 / -2.0, "input 2") self.assertEqual(out3, -2.0 / 10, "input 3") self.assertEqual(out4, 5.0 / 4.0, "input 4") self.assertEqual(out5, -1.0 / -1.0, "input 5")
Ideally it should be same.
nickovic
No branches or pull requests
Python
rtamt/tests/python/api/test_stl_discrete_time_online_specification.py
Lines 112 to 131 in 9a0ddb1
C++
rtamt/tests/python/api/test_stl_discrete_time_online_specification_cpp.py
Lines 112 to 131 in 9a0ddb1
Is that OK?
The text was updated successfully, but these errors were encountered: