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