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

Function ordering

ctutils/src/traits/ct_gt.rs:94–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93 #[test]
94 fn ordering() {
95 assert!(!Ordering::Equal.ct_gt(&Ordering::Equal).to_bool());
96 assert!(!Ordering::Less.ct_gt(&Ordering::Greater).to_bool());
97 assert!(Ordering::Greater.ct_gt(&Ordering::Less).to_bool());
98 }
99}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected