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

Implement tests to ensure correct mapping of NVML errors to wrapper errors #1

Closed
Cldfire opened this issue May 18, 2017 · 1 comment

Comments

@Cldfire
Copy link
Owner

Cldfire commented May 18, 2017

https://github.com/Cldfire/nvml-wrapper/blob/master/src/error.rs#L173

No way to derive PartialEq / Eq until rust-lang-deprecated/error-chain#134 is resolved (not worth implementing traits by hand).

@Cldfire
Copy link
Owner Author

Cldfire commented May 18, 2018

Worked around this issue using the handy assert_matches crate in cebf007.

@Cldfire Cldfire closed this as completed May 18, 2018
Cldfire pushed a commit that referenced this issue Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant