//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testPredictedValue()
        public virtual void testPredictedValue()
        {
            double[] z;
            for (int i = 0; i < 10; i++)
            {
                z = new double[] { RANDOM.NextDouble(), RANDOM.NextDouble() };
                assertEquals(F1.applyAsDouble(z[0], z[1]), NO_INTERCEPT.getPredictedValue(z), EPS);
                assertEquals(F2.applyAsDouble(z[0], z[1]), INTERCEPT.getPredictedValue(z), EPS);
            }
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testNullArray()
        public virtual void testNullArray()
        {
            NO_INTERCEPT.getPredictedValue(null);
        }