Spaces:
Sleeping
Sleeping
File size: 365 Bytes
463f868 | 1 2 3 4 5 6 7 8 9 10 | #![cfg(feature = "gpu")]
use crate::core::gpu_state::GpuGameState;
#[test]
fn test_state_size() {
println!("GpuGameState size: {}", std::mem::size_of::<GpuGameState>());
// Size is 1904 bytes: 2 * 672 (GpuPlayerState) + 320 (game state fields + trigger queue) + 240 (interaction stack)
assert_eq!(std::mem::size_of::<GpuGameState>(), 1936);
}
|