test/pendulum/model/ModelTest.java
/**
     * Test of convertDegreeToRadian method, of class Model.
     */
Test of convertDegreeToRadian method, of class Model.
Test of convertDegreeToRadian method of class Model .
@Test
    public void testConvertDegreeToRadian ()
    {
	System.out.println ("convertDegreeToRadian");
	double angle = 90;
	double expResult = 90 * (Math.PI / 180);;
	double result = Model.convertDegreeToRadian (angle);
	assertEquals (expResult, result, 0.01);
    }
@ Test public void testConvertDegreeToRadian ( ) { System . out . println ( "convertDegreeToRadian" ) ; double angle = 90 ; double expResult = 90 * ( Math . PI / 180 ) ; ; double result = Model . convertDegreeToRadian ( angle ) ; assertEquals ( expResult , result , 0.01 ) ; }
Test of convertDegreeToRadian method, of class Model.
Test of convertDegreeToRadian method of class Model .