コード例 #1
0
        public void Next()
        {
            var Generator = new Utilities.Random.DefaultClasses.ColorGenerator();

            Generator.Next(new System.Random());
            Generator.Next(new System.Random(), Color.Green, Color.Blue);
        }
コード例 #2
0
 public void Next()
 {
     Utilities.Random.DefaultClasses.ColorGenerator Generator = new Utilities.Random.DefaultClasses.ColorGenerator();
     Assert.DoesNotThrow(() => Generator.Next(new System.Random()));
     Assert.DoesNotThrow(() => Generator.Next(new System.Random(), Color.Green, Color.Blue));
 }
コード例 #3
0
 public void Next()
 {
     var Generator = new Utilities.Random.DefaultClasses.ColorGenerator();
     Generator.Next(new System.Random());
     Generator.Next(new System.Random(), Color.Green, Color.Blue);
 }
コード例 #4
0
 public void Next()
 {
     Utilities.Random.DefaultClasses.ColorGenerator Generator = new Utilities.Random.DefaultClasses.ColorGenerator();
     Assert.DoesNotThrow(() => Generator.Next(new System.Random()));
     Assert.DoesNotThrow(() => Generator.Next(new System.Random(), Color.Green, Color.Blue));
 }