public void testRangeFilter1_0()
        {
            var _Pipe = new RandomFilterPipe<String>(1.0d);
            _Pipe.SetSourceCollection(BaseTest.GenerateUUIDs(100));

            var _Counter = 0;
            while (_Pipe.MoveNext())
                _Counter++;

            Assert.AreEqual(100, _Counter);
        }
        public void testRangeFilter0_5()
        {
            var _Pipe = new RandomFilterPipe<String>(0.5d);
            _Pipe.SetSourceCollection(BaseTest.GenerateUUIDs(10000));

            var _Counter = 0;
            while (_Pipe.MoveNext())
                _Counter++;

            Assert.GreaterOrEqual(_Counter, 4000);
            Assert.LessOrEqual(_Counter, 6000);
        }