Skip to content

Commit

Permalink
Merge pull request #33 from jfcarr-astronomy/moon/rise-set
Browse files Browse the repository at this point in the history
Calculate -> Local moonrise and moonset.
  • Loading branch information
Jim Carr committed Dec 13, 2020
2 parents 4ccb464 + 06d6ecf commit 7eb9c33
Show file tree
Hide file tree
Showing 4 changed files with 771 additions and 1 deletion.
6 changes: 6 additions & 0 deletions PALib.Tests/PAMoon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ public void MoonDistAngDiamHorParallax()
{
Assert.Equal((367964, 0, 32, 0, 59, 35.49), _paMoon.MoonDistAngDiamHorParallax(0, 0, 0, false, 0, 1, 9, 2003));
}

[Fact]
public void MoonriseAndMoonset()
{
Assert.Equal((4, 21, 6, 3, 1986, 127.34, 13, 8, 6, 3, 1986, 234.05), _paMoon.MoonriseAndMoonset(6, 3, 1986, false, -5, -71.05, 42.3667));
}
}
}
Loading

0 comments on commit 7eb9c33

Please sign in to comment.