feat: container tests
This commit is contained in:
parent
6dc79f7e29
commit
0b1486aeee
3 changed files with 339 additions and 316 deletions
7
tests/container.rs
Normal file
7
tests/container.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
use binf::BitFlags;
|
||||
|
||||
#[test]
|
||||
fn standalone() {
|
||||
let flags = BitFlags::<u8>::new(0b10101010);
|
||||
assert_eq!(*flags, 0b10101010);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue