()
| 590 | |
| 591 | #[test] |
| 592 | fn read_f64_float32() { |
| 593 | // json! always produces f64, so test float32 with raw bytes |
| 594 | // float32 tag (0xca) + 1.5 in IEEE 754 big-endian |
| 595 | let buf = [0xca, 0x3f, 0xc0, 0x00, 0x00]; |
| 596 | let val = read_f64(&buf, 0).unwrap(); |
| 597 | assert!((val - 1.5).abs() < 1e-6); |
| 598 | } |
| 599 | |
| 600 | #[test] |
| 601 | fn skip_empty_containers() { |
nothing calls this directly
no test coverage detected