Re: Variance Swap test
Posted by
Luigi Ballabio on
Feb 15, 2017; 8:56am
URL: http://quantlib.414.s1.nabble.com/Variance-Swap-test-tp18059p18086.html
The main() function using the suite is provided by the Boost unit-test framework; you'll need to provide an init_unit_test_suite function, as done in the quantlibtestsuite.cpp file.
As for the linking errors you were getting: flatRate is defined in test-suite/utilities.cpp, and you need to link it together with your other files.
Luigi
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org!
http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users