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

Add Kani model verification #127

Closed
ChristopherRabotin opened this issue May 22, 2022 · 1 comment · Fixed by #135
Closed

Add Kani model verification #127

ChristopherRabotin opened this issue May 22, 2022 · 1 comment · Fixed by #135
Assignees

Comments

@ChristopherRabotin
Copy link
Member

https://model-checking.github.io/kani/getting-started.html

In light of #126 , I think it's important to check that operations on Epochs and Durations are free of errors, especially at the limits of their representations. This issue aims to implement Kani's model verification in hifitime.

@ChristopherRabotin
Copy link
Member Author

  • No panic in normalize with the i16 max and min for centuries and any nanoseconds.
  • No panic in normalize for any i16 for centuries and any nanoseconds.

I'm not quite sure what else to check since that's arguably the most risky operation and everything else relies on Duration working correctly.

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 a pull request may close this issue.

1 participant