Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/bitflags/src/tests/eq.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / bitflags / src / tests / eq.rs` 10 lines ยท 303 bytes Raw Blame History 1 use super::*; 2 3 #[test] 4 fn cases() { 5 assert_eq!(TestFlags::empty(), TestFlags::empty()); 6 assert_eq!(TestFlags::all(), TestFlags::all()); 7 8 assert!(TestFlags::from_bits_retain(1) < TestFlags::from_bits_retain(2)); 9 assert!(TestFlags::from_bits_retain(2) > TestFlags::from_bits_retain(1)); 10 }