We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c667013 commit 00e02beCopy full SHA for 00e02be
1 file changed
tests/test_smoothing.py
@@ -137,4 +137,12 @@ def test_benchmark(self):
137
138
pos_err_smth = np.std((pos_smth - pos_ref)[warmup:], axis=0)
139
pos_err_ains = np.std((pos_ains - pos_ref)[warmup:], axis=0)
140
- assert pos_err_smth[0] < pos_err_ains[0]
+ np.testing.assert_array_less(pos_err_smth, pos_err_ains)
141
+
142
+ vel_err_smth = np.std((vel_smth - vel_ref)[warmup:], axis=0)
143
+ vel_err_ains = np.std((vel_ains - vel_ref)[warmup:], axis=0)
144
+ np.testing.assert_array_less(vel_err_smth, vel_err_ains)
145
146
+ euler_err_smth = np.std((euler_smth - euler_ref)[warmup:], axis=0)
147
+ euler_err_ains = np.std((euler_ains - euler_ref)[warmup:], axis=0)
148
+ np.testing.assert_array_less(euler_err_smth, euler_err_ains)
0 commit comments