test/pendulum/model/ModelTest.java
/**
     * Test of calcPeriodTime method, of class Model.
     */
Test of calcPeriodTime method, of class Model.
Test of calcPeriodTime method of class Model .
@Test
    public void testCalcPeriodTime ()
    {
	System.out.println ("calcPeriodTime");
	Model instance = new Model ();
	instance.setStringLength (42);
	instance.setGravityAcceleration (9.81);
	double expResult = 13.00079;
	double result = instance.calcPeriodTime ();
	assertEquals (expResult, result, 0.001);
    }
@ Test public void testCalcPeriodTime ( ) { System . out . println ( "calcPeriodTime" ) ; Model instance = new Model ( ) ; instance . setStringLength ( 42 ) ; instance . setGravityAcceleration ( 9.81 ) ; double expResult = 13.00079 ; double result = instance . calcPeriodTime ( ) ; assertEquals ( expResult , result , 0.001 ) ; }
Test of calcPeriodTime method, of class Model.
Test of calcPeriodTime method of class Model .