Closed 97jaz closed 8 years ago
Looks great to me! Thank you very much for the quick fix.
As an aside: Gregor seems like the kind of library that could benefit greatly from a QuickCheck style testing framework. There's a racket implementation that could be used, but it might be more trouble than it's worth. Something to think about.
@jackfirth I like the QuickCheck idea in principle. I'll need to take a closer look. At first glance, I think it would be difficult to use it to test date/time arithmetic without using the Gregor library itself for verification.
@jackfirth This should address your issue #14. I'll wait on merging it for a while to give you a chance to look it over, if you want.
The fix itself is simple. Most of the added code is to provide better test coverage for
moment
s that use UTC offsets as time zones.