Akka.Streams.Tests.Dsl.FlowSlidingSpec.Sliding_must_behave_just_like_collections_sliding_with_step_greather_than_window C# (CSharp) Method

Sliding_must_behave_just_like_collections_sliding_with_step_greather_than_window() private method

        public void Sliding_must_behave_just_like_collections_sliding_with_step_greather_than_window()
        {
            this.AssertAllStagesStopped(() =>
            {
                var random = new Random();
                var gen = Enumerable.Range(1, 1000)
                    .Select(_ =>
                    {
                        var win = random.Next(1, 62);
                        return Tuple.Create(random.Next(0, 32), win, random.Next(win + 1, 128));
                    });

                Check(gen);
            }, Materializer);
        }