示例#1
0
        public void TestMethod()
        {
            double  length  = 1;
            Uniform uniform = new Uniform(length);
            double  mean    = 0;

            Assert.AreEqual(0.1, uniform.CDF(mean, mean + (0.05 * length)) - uniform.CDF(mean, mean - (0.05 * length)), 0.01);
        }