public void BetaCdfTest()
        {
            // This ground truth comes from R. Each row is of the form:
            // (x, a, b, pbeta(x, a, b))
            double[,] groundTruth = ReadPairs(Path.Combine(TestUtils.DataFolderPath, "SpecialFunctionsValues", "BetaCdf.csv"));

            MathFcn3 fun = new MathFcn3((x, a, b) => (new Beta(a, b)).GetProbLessThan(x));

            CheckFunctionValues("BetaCdf", fun, groundTruth, 1e-9);
        }
 private static void CheckFunctionValues(string name, MathFcn3 fcn, double[,] pairs, double assertTolerance = defaultAssertTolerance)
 {
     CheckFunctionValues(name, (Delegate)fcn, pairs, assertTolerance);
 }