Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ not
Function
not
ctutils/src/choice.rs:680–683 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
678
679
#[test]
680
fn not() {
681
assert_eq!(Choice::FALSE.not().to_u8(), 1);
682
assert_eq!(Choice::TRUE.not().to_u8(), 0);
683
}
684
685
#[test]
686
fn from_i64_eq() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected