/// <summary>
        /// Numbers computed from R
        /// </summary>
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void debugTest()
        public virtual void debugTest()
        {
            const double dof           = 3.666;
            const double nonCentrality = 75;
            const double x             = 13.89;

//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final NonCentralChiSquaredDistribution chiSq1 = new NonCentralChiSquaredDistribution(dof, nonCentrality);
            NonCentralChiSquaredDistribution chiSq1 = new NonCentralChiSquaredDistribution(dof, nonCentrality);
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final double y1 = Math.log(chiSq1.getCDF(x));
            double y1 = Math.Log(chiSq1.getCDF(x));

            assertEquals(-15.92129, y1, 1e-5);
        }
        /// <summary>
        /// Numbers computed from R
        /// </summary>
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testLargeValues()
        public virtual void testLargeValues()
        {
            double x       = 123;
            double dof     = 6.4;
            double nonCent = 100.34;
            NonCentralChiSquaredDistribution dist = new NonCentralChiSquaredDistribution(dof, nonCent);

            assertEquals(0.7930769, dist.getCDF(x), 1e-6);

            x       = 455.038;
            dof     = 12;
            nonCent = 444.44;

            dist = new NonCentralChiSquaredDistribution(dof, nonCent);
            assertEquals(0.4961805, dist.getCDF(x), 1e-6);

            x       = 999400;
            dof     = 500;
            nonCent = 1000000;
            dist    = new NonCentralChiSquaredDistribution(dof, nonCent);
            assertEquals(0.2913029, dist.getCDF(x), 1e-6);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testNullX()
        public virtual void testNullX()
        {
            DIST.getCDF(null);
        }