Esempio n. 1
0
        public void Next()
        {
            var Generator = new Utilities.Random.DefaultClasses.DateTimeGenerator();

            Assert.InRange(Generator.Next(new System.Random()), DateTime.MinValue, DateTime.MaxValue);
            Assert.InRange(Generator.Next(new System.Random(), new DateTime(1900, 1, 1), new DateTime(2000, 1, 1)), new DateTime(1900, 1, 1), new DateTime(2000, 1, 1));
        }
 public void Next()
 {
     var Generator = new Utilities.Random.DefaultClasses.DateTimeGenerator();
     Assert.InRange(Generator.Next(new System.Random()), DateTime.MinValue, DateTime.MaxValue);
     Assert.InRange(Generator.Next(new System.Random(), new DateTime(1900, 1, 1), new DateTime(2000, 1, 1)), new DateTime(1900, 1, 1), new DateTime(2000, 1, 1));
 }