public void TestBetaWithBoundsFillSamples()
        {
            // arrange
            var subject = new BetaDistribution(0.5, 0.5, 0.3, 0.7);
            var samples = Range(0, 42).Map(_ => NaN).ToArray();

            // act
            subject.FillSamples(samples);

            // assert
            Assert.IsTrue(samples.All(d => d > 0.3 && d < 0.7));
        }