Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformat rrule_test for more informative output on failure (#27)
Currently, if the check for all rules comparing approximately equal to their finite differencing counterparts fails, the test failure just tells you that `all(...)` was `false`. If we restructure it as a loop over the results, a failure will display the actual values that were compared, which is much more informative. While I was in here, I also changed the `map` directly below to a loop, since that's what the `map` was doing; the resulting vector of `nothing`s was not being used. It could just have well have been a `foreach`, but an explicit loop seems clearer.
- Loading branch information