Exemplo n.º 1
0
        public void TestNormalWithBoundsGetSample()
        {
            // arrange
            var subject = new NormalDistribution(0.5, 1d, 0.3, 0.7);

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

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