-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tests were lazily written and not comprehensive #1
Comments
Note that the bug fixed in b02895c was noticed because the doc tests were picking random keys, i.e., were not reproducible tests. |
indomitableSwan
added a commit
that referenced
this issue
Jul 20, 2024
…idation in RingElement construction. Relates to #1
indomitableSwan
added a commit
that referenced
this issue
Jul 24, 2024
…idation in RingElement construction. Relates to #1
indomitableSwan
added a commit
that referenced
this issue
Jul 25, 2024
* refactor using thiserror crate * Created an opaque error type to hide internal error representation details * Collected internal errors under one private enum `ErrorRepr` for future use * rewrite error messages and attach context to public types for greater clarity * Internal code cleanup where possible (simplifying code, reorganization for better readability, making more idiomatic) * reduce code duplication in demo by adding trait bounds to the parser helper `process_input` requiring the output type's `FromStr` Error to implement `Display`. This also allows the demo writer to pass through errors from the crypto library transparently instead of rewriting similar content. * Add tests: *Writing failing test for encryption/decryption, caused by lack of validation in RingElement construction. Relates to #1. This test only works within the library bc `RingElement` is private. * add test that demonstrates expected, but potentially surprising behavior reading RingElements from i8s
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: