Skip to content

Commit 748f494

Browse files
committed
Test reformatting
1 parent d9c99e7 commit 748f494

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

tests/test_havok.py

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,7 @@ def test_hankel_1():
8484
dummy_data = np.array([[1, 2, 3, 4]])
8585

8686
havok = HAVOK(delays=1)
87-
assert_equal(
88-
havok.hankel(dummy_data),
89-
np.array(
90-
[
91-
[1, 2, 3, 4],
92-
]
93-
),
94-
)
87+
assert_equal(havok.hankel(dummy_data), np.array([[1, 2, 3, 4]]))
9588
assert_equal(havok.dehankel(havok.hankel(dummy_data)), dummy_data)
9689

9790
havok = HAVOK(delays=2)
@@ -103,25 +96,7 @@ def test_hankel_1():
10396
assert_equal(havok.dehankel(havok.hankel(dummy_data)), dummy_data)
10497

10598
havok = HAVOK(delays=4)
106-
assert_equal(
107-
havok.hankel(dummy_data),
108-
np.array(
109-
[
110-
[
111-
1,
112-
],
113-
[
114-
2,
115-
],
116-
[
117-
3,
118-
],
119-
[
120-
4,
121-
],
122-
]
123-
),
124-
)
99+
assert_equal(havok.hankel(dummy_data), np.array([[1, 2, 3, 4]]).T)
125100
assert_equal(havok.dehankel(havok.hankel(dummy_data)), dummy_data)
126101

127102
with raises(ValueError):

0 commit comments

Comments
 (0)