()
| 2 | |
| 3 | #[test] |
| 4 | fn pass_pack_f32() { |
| 5 | let mut buf = [0x00, 0x00, 0x00, 0x00, 0x00]; |
| 6 | |
| 7 | write_f32(&mut &mut buf[..], 3.4028234e38_f32).ok().unwrap(); |
| 8 | |
| 9 | assert_eq!([0xca, 0x7f, 0x7f, 0xff, 0xff], buf); |
| 10 | } |
| 11 | |
| 12 | #[test] |
| 13 | fn pass_pack_f64() { |
nothing calls this directly
no test coverage detected