interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / bitflags / src / tests / eq.rs

10 lines · 303 bytes Raw Blame History
1use super::*;
2
3#[test]
4fn 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}