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

Function ordering

ctutils/src/traits/ct_lt.rs:147–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145
146 #[test]
147 fn ordering() {
148 assert!(!Ordering::Equal.ct_lt(&Ordering::Equal).to_bool());
149 assert!(Ordering::Less.ct_lt(&Ordering::Greater).to_bool());
150 assert!(!Ordering::Greater.ct_lt(&Ordering::Less).to_bool());
151 }
152}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected