Update Optimal Control Example Documentation
Summary Fix documentation typos in optimal control examples & add unit tests that check the output results match expected values within a certain tolerance.
Closing issues Fixes issue #379
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 99.68%. Comparing base (5915743) to head (d5b657e).
:warning: Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #380 +/- ##
==========================================
+ Coverage 99.67% 99.68% +0.01%
==========================================
Files 35 35
Lines 6760 6759 -1
==========================================
Hits 6738 6738
+ Misses 22 21 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Thanks for this, the doc failure is due to link check failures that should go away when we run it again. To make the tests more robust, please change to tolerance to 1e-6.
@wenwen0231, please do check for any improvements we can make and do a fresh commit, I think the tests will pass now.