MCPcopy Create free account
hub / github.com/RustCrypto/utils / from_u64_lsb

Function from_u64_lsb

ctutils/src/choice.rs:841–844  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

839
840 #[test]
841 fn from_u64_lsb() {
842 assert!(Choice::from_u64_lsb(0).eq(Choice::FALSE).to_bool());
843 assert!(Choice::from_u64_lsb(1).eq(Choice::TRUE).to_bool());
844 }
845
846 #[test]
847 fn from_u64_lt() {

Callers 1

overflowing_add_u64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected