binf/tests/container.rs
davidontop ed547c757a
All checks were successful
checks / test (push) Successful in 13s
checks / clippy (push) Successful in 11s
checks / format (push) Successful in 5s
fix actions
2024-08-13 09:23:31 +02:00

7 lines
134 B
Rust
Executable file

use binf::BitFlags;
#[test]
fn standalone() {
let flags = BitFlags::<u8>::new(0b10101010);
assert_eq!(*flags, 0b10101010);
}