finmath / finmath-lib

Mathematical Finance Library: Algorithms and methodologies related to mathematical finance.
Apache License 2.0
488 stars 168 forks source link

Kotlin curve calibration test #59

Closed arizeo closed 6 years ago

arizeo commented 6 years ago

Hi

I have been trying to run the curve calibration test script in kotlin but the editor does not give me any option to run the test.

Any idea why that might be?

finmath-lib/src/test/kotlin/net/finmath/marketdata/model/curves/CalibrationMultiCurveKotlinTest.kt

delreluca commented 6 years ago

I don’t know what your exact setup is, but I guess you’re performing a Maven build. If so, you have to activate the “kotlin” Maven profile.

I tried it in IntelliJ and by default there is no icon next to the test. When we open the Maven tool window (View, Tool Windows, Maven projects) and tick kotlin under Profiles, it will show a green arrow after re-importing.

arizeo commented 6 years ago

thanks that did the trick