Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

mainconvertiblebond.cpp File Reference

#include "..\PartJ\convertiblebond.h"
#include "..\common\utils.h"

Go to the source code of this file.

Functions

bool mainconvertiblebond (void)
 test of the convertible bond object


Function Documentation

bool mainconvertiblebond void   ) 
 

test of the convertible bond object

Returns:
true if pass, otherwise fail

Definition at line 5 of file mainconvertiblebond.cpp.

References ACT_365, Days, convertiblebond::fairvalue(), Months, Natural, convertiblebond::parityDelta(), convertiblebond::parityGamma(), Date::plus(), Real, realsEqual(), convertiblebond::rho(), Date::setDateToToday(), and asset::setPrice().

Referenced by maintests().


Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:37 2005 for terreneuve by doxygen 1.3.6