Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ported taiutc #39

Merged
merged 4 commits into from
Jun 19, 2018
Merged

ported taiutc #39

merged 4 commits into from
Jun 19, 2018

Conversation

prakharcode
Copy link
Contributor

fixes #17

@coveralls
Copy link

coveralls commented Jun 17, 2018

Pull Request Test Coverage Report for Build 206

  • 18 of 18 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 88.789%

Totals Coverage Status
Change from base Build 205: 0.3%
Covered Lines: 396
Relevant Lines: 446

💛 - Coveralls

test/runtests.jl Outdated
@@ -180,7 +180,7 @@ AstroTime.update()
leap = UTCEpoch(2016, 12, 31, 23, 59, 60)
tai1, tai2 = ERFA.utctai(julian1(leap), julian2(leap))
@test Epochs.utctai(julian1(leap), julian2(leap)) == ERFA.utctai(julian1(leap), julian2(leap))
@test_broken Epochs.taiutc(tai1, tai2) == ERFA.taiutc(tai1, tai2)
@test Epochs.taiutc(tai1, tai2) == ERFA.taiutc(tai1, tai2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the strict equality test is failing on 32bits again I would propose to move all ported function tests to approximate equality.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all means all the test till now or only this?

@codecov-io
Copy link

codecov-io commented Jun 19, 2018

Codecov Report

Merging #39 into master will increase coverage by 0.25%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   88.53%   88.78%   +0.25%     
==========================================
  Files           7        7              
  Lines         436      446      +10     
==========================================
+ Hits          386      396      +10     
  Misses         50       50
Impacted Files Coverage Δ
src/conversions.jl 98.98% <100%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b50676e...ee685c5. Read the comment docs.

@helgee helgee merged commit 1f3ce84 into JuliaAstro:master Jun 19, 2018
@helgee helgee mentioned this pull request Jun 19, 2018
20 tasks
@prakharcode prakharcode deleted the taiutc branch July 1, 2018 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ported UTC<->TAI is incorrect during leap second
4 participants