mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Assert that gba struct is zero sized
This commit is contained in:
parent
75bd475f08
commit
a331909370
|
@ -173,6 +173,12 @@ mod test {
|
|||
assert_eq!(1, 1);
|
||||
}
|
||||
|
||||
#[test_case]
|
||||
fn gba_struct_is_zero_sized(_gba: &mut Gba) {
|
||||
use core::mem;
|
||||
assert_eq!(mem::size_of::<Gba>(), 0);
|
||||
}
|
||||
|
||||
#[test_case]
|
||||
fn wait_30_frames(_gba: &mut Gba) {
|
||||
let vblank = crate::interrupt::VBlank::get();
|
||||
|
|
Loading…
Reference in a new issue