Exemplo n.º 1
0
        public decimal NextDecimal()
        {
            var  scale = (byte)Next(29);
            bool sign  = Next(2) == 1;

            return(new decimal(Randomm.NextInt32(),
                               Randomm.NextInt32(),
                               Randomm.NextInt32(),
                               sign,
                               scale));
        }
Exemplo n.º 2
0
 public static int RandomInt()
 {
     return(Randomm.NextInt32());
 }