Skip to content

Commit d358fb6

Browse files
fix tests
1 parent 9d69c2b commit d358fb6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_benchmark.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,12 @@ def test_pure_translation(self):
302302

303303
def test_benchmark_pure_attitude_beat_202311A():
304304
signature_signal, _, _ = benchmark.BeatSignal(0.1, 0.01)(
305-
np.arange(0.0, 1200.0, 1.0 / 10.24)
305+
np.arange(0.0, 1800.0, 1.0 / 10.24)
306306
)
307307

308308
t, euler, acc, gyro = benchmark.benchmark_pure_attitude_beat_202311A()
309309

310-
assert len(t) == int(1200 * 10.24)
310+
assert len(t) == int(1800 * 10.24)
311311
assert euler.shape == (len(t), 3)
312312
assert acc.shape == (len(t), 3)
313313
assert gyro.shape == (len(t), 3)
@@ -317,12 +317,12 @@ def test_benchmark_pure_attitude_beat_202311A():
317317

318318
def test_benchmark_pure_attitude_chirp_202311A():
319319
signature_signal, _, _ = benchmark.ChirpSignal(0.25, 0.01)(
320-
np.arange(0.0, 1200.0, 1.0 / 10.24)
320+
np.arange(0.0, 1800.0, 1.0 / 10.24)
321321
)
322322

323323
t, euler, acc, gyro = benchmark.benchmark_pure_attitude_chirp_202311A()
324324

325-
assert len(t) == int(1200 * 10.24)
325+
assert len(t) == int(1800 * 10.24)
326326
assert euler.shape == (len(t), 3)
327327
assert acc.shape == (len(t), 3)
328328
assert gyro.shape == (len(t), 3)

0 commit comments

Comments
 (0)