mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 05:28:21 +02:00
Add test to ensure struct sizes are correct
This commit is contained in:
parent
2a9a81290b
commit
80e3397a44
@ -458,3 +458,9 @@ fn apply_profile_override(config: &mut VgpuConfig) -> bool {
|
||||
|
||||
true
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_size() {
|
||||
assert_eq!(mem::size_of::<VgpuStart>(), 0x420);
|
||||
assert_eq!(mem::size_of::<VgpuConfig>(), 0x730);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user