solution to exercise 03_08

This commit is contained in:
David Doblas Jiménez 2024-06-27 16:08:42 +02:00
parent 1f0823a6a4
commit 4913da035f

View File

@ -6,16 +6,16 @@ mod tests {
#[test] #[test]
fn u16_size() { fn u16_size() {
assert_eq!(size_of::<u16>(), todo!()); assert_eq!(size_of::<u16>(), 2);
} }
#[test] #[test]
fn i32_size() { fn i32_size() {
assert_eq!(size_of::<i32>(), todo!()); assert_eq!(size_of::<i32>(), 4);
} }
#[test] #[test]
fn bool_size() { fn bool_size() {
assert_eq!(size_of::<bool>(), todo!()); assert_eq!(size_of::<bool>(), 1);
} }
} }