Skip to content

Commit

Permalink
Add a few next anniversary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jan 13, 2014
1 parent 104a3ed commit 839f117
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Data/Time/Calendar/Hebrew.hs
Expand Up @@ -491,6 +491,10 @@ caseNextAnniversary = do
nextAnniversary (HebrewDate 5770 Tishrei 1) (HebrewDate 1 Tishrei 2)
HebrewDate 5771 Tishrei 2 @=?
nextAnniversary (HebrewDate 5770 Tishrei 3) (HebrewDate 1 Tishrei 2)
HebrewDate 5775 Adar 1 @=?
nextAnniversary (HebrewDate 5775 Tishrei 1) (HebrewDate 5774 Adar2 1)
HebrewDate 5775 Cheshvan 29 @=?
nextAnniversary (HebrewDate 5775 Tishrei 1) (HebrewDate 5774 Cheshvan 30)

------ testing
testSuite :: Test
Expand Down

0 comments on commit 839f117

Please sign in to comment.