feat: container tests

This commit is contained in:
DavidOnTop 2023-12-29 23:07:56 +01:00
parent 6dc79f7e29
commit 0b1486aeee
No known key found for this signature in database
GPG key ID: FAB914DDC2F180EB
3 changed files with 339 additions and 316 deletions

7
tests/container.rs Normal file
View file

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