TST: Added tests for new order methods.

This commit is contained in:
Thomas Wiecki
2013-08-08 15:55:08 -04:00
parent 48486c9814
commit b1fdebfb7c
3 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ class TestBatchTransform(TestCase):
# consecutive (of window length) numbers up till the end.
for i in range(algo.window_length, len(test_history)):
np.testing.assert_array_equal(
range(i - algo.window_length + 1, i + 1),
range(i - algo.window_length + 2, i + 2d),
test_history[i].values.flatten()
)