public void ZeroRadius()
        {
            var random = new Random(123456);
              CircleDistribution d = new CircleDistribution { OuterRadius = 0 };

              Assert.AreEqual(new Vector3F(), d.Next(random));
              Assert.AreEqual(new Vector3F(), d.Next(random));
              Assert.AreEqual(new Vector3F(), d.Next(random));
        }
        public void ZeroRadius()
        {
            var random           = new Random(123456);
            CircleDistribution d = new CircleDistribution {
                OuterRadius = 0
            };

            Assert.AreEqual(new Vector3(), d.Next(random));
            Assert.AreEqual(new Vector3(), d.Next(random));
            Assert.AreEqual(new Vector3(), d.Next(random));
        }
        public void Values()
        {
            var random           = new Random(123456);
            CircleDistribution d = new CircleDistribution();

            for (int i = 0; i < 100; i++)
            {
                d.InnerRadius = RandomHelper.Random.NextFloat(0, 100);
                d.OuterRadius = RandomHelper.Random.NextFloat(0, 100);

                var value = d.Next(random);

                var radius = value.Length;
                Assert.IsTrue(d.InnerRadius < radius && radius < d.OuterRadius ||
                              d.OuterRadius < radius && radius < d.InnerRadius);
                Assert.AreEqual(0, value.Z);
            }
        }
        public void Values()
        {
            var random = new Random(123456);
              CircleDistribution d = new CircleDistribution();

              for (int i = 0; i < 100; i++)
              {
            d.InnerRadius = RandomHelper.Random.NextFloat(0, 100);
            d.OuterRadius = RandomHelper.Random.NextFloat(0, 100);

            var value = d.Next(random);

            var radius = value.Length;
            Assert.IsTrue(d.InnerRadius < radius && radius < d.OuterRadius
                      || d.OuterRadius < radius && radius < d.InnerRadius);
            Assert.AreEqual(0, value.Z);
              }
        }