Esempio n. 1
0
        public void TestGammaWithBoundsGetSample()
        {
            // arrange
            var subject = new GammaDistribution(1d, 1d, 0.3, 0.7);

            // act
            var sample = subject.GetSample();

            // assert
            Assert.IsTrue(sample > 0.3 && sample < 0.7);
        }