Example #1
0
        public void NextUInt_MaxVal()
        {
            var  rng = new ConstantRandomSource(ulong.MaxValue);
            uint x   = rng.NextUInt();

            Assert.Equal(uint.MaxValue, x);
        }
Example #2
0
        public void NextUInt_MinVal()
        {
            var  rng = new ConstantRandomSource(0UL);
            uint x   = rng.NextUInt();

            Assert.Equal(0u, x);
        }