avhz / RustQuant

Rust library for quantitative finance.
https://avhz.github.io
Apache License 2.0
1.15k stars 134 forks source link

Improve Doc Tests #287

Closed matormentor closed 1 week ago

matormentor commented 2 weeks ago

Bug :lady_beetle: There are doc_tests that are not passing the test due to falsely declaring the code in the documentation

To Reproduce Steps to reproduce the behavior:

  1. Run RustQuant tests

Expected behavior

Screenshots

Suggestion Add normal imports using # and comment the expected imports from the user with //

Such that the doc looks like:

Repeat for all the necessary errors. and ignored test

avhz commented 1 week ago

Thanks ! Fixed in e52f010