Closed scfleming closed 10 years ago
I think it would be useful to print out some details when a test is failing, so it is possible to have a little insight also on travis-ci before running locally. If you push other commits on your branch, the PR is automatically updated and Travis runs again.
Most recent commit adds diagnostic information to a test failure (expected value, observed value, tolerance, etc.) @zonca please review and merge when ready.
ok @scfleming I am merging this, we need to focus on #25 to fix the tests
Unit test now does correct comparison between the closest segment "event" (based on timestamp) and the expected transit parameters from the model. Note that in both test_bls_pulse and test_bls_pulse_vec some transit events are failing due to timestamp and/or durations not being close enough to expected values.