# HG changeset patch # User Nicolas Saunier # Date 1719516677 14400 # Node ID 7493751bfe1964aac466cd403bcc87979ac114a3 # Parent bae8de98406fffa5942b4a034d38be04c8193d89 update to test as it seems non deterministic diff -r bae8de98406f -r 7493751bfe19 trafficintelligence/tests/utils.txt --- 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]