changeset 1277:7493751bfe19

update to test as it seems non deterministic
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 27 Jun 2024 15:31:17 -0400
parents bae8de98406f
children 8e61ff3cd503
files trafficintelligence/tests/utils.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/trafficintelligence/tests/utils.txt	Tue Jun 25 16:40:40 2024 -0400
+++ b/trafficintelligence/tests/utils.txt	Thu Jun 27 15:31:17 2024 -0400
@@ -51,8 +51,8 @@
 [3, 3, 3, 4, 4, 4, 4]
 >>> filterCategoricalMovingWindow([3]*6 + [4], 2)
 [3, 3, 3, 3, 3, 3, 3]
->>> filterCategoricalMovingWindow(['a']*3 + ['c'] + ['b']*3, 2)
-['a', 'a', 'a', 'b', 'b', 'b', 'b']
+>>> 'c' in filterCategoricalMovingWindow(['a']*3 + ['c'] + ['b']*3, 2)
+False
 >>> filterCategoricalMovingWindow([3], 2)
 [3]