//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testFunctionIndexOutOfRange2()
        public virtual void testFunctionIndexOutOfRange2()
        {
            BasisFunctionKnots k = BasisFunctionKnots.fromKnots(KNOTS, 5);
            int nS = k.NumSplines;

            GENERATOR.generate(k, nS);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testKnots()
        public virtual void testKnots()
        {
            BasisFunctionKnots knots = BasisFunctionKnots.fromKnots(KNOTS, 3);

            assertEquals(3, knots.Degree);
            assertEquals(11, knots.NumKnots);
            assertEquals(7, knots.NumSplines);
            ArrayAsserts.assertArrayEquals(KNOTS, knots.Knots, 1e-15);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testWrongOrderKnots()
        public virtual void testWrongOrderKnots()
        {
            BasisFunctionKnots.fromKnots(WRONG_ORDER_KNOTS, 3);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testNegDegree()
        public virtual void testNegDegree()
        {
            BasisFunctionKnots.fromKnots(KNOTS, -1);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testNullKnots()
        public virtual void testNullKnots()
        {
            BasisFunctionKnots.fromKnots(null, 2);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testDegreeToHigh3()
        public virtual void testDegreeToHigh3()
        {
            BasisFunctionKnots.fromKnots(KNOTS, 11);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(expectedExceptions = IllegalArgumentException.class) public void testFunctionIndexOutOfRange1()
        public virtual void testFunctionIndexOutOfRange1()
        {
            BasisFunctionKnots k = BasisFunctionKnots.fromKnots(KNOTS, 2);

            GENERATOR.generate(k, -1);
        }