()
| 821 | |
| 822 | #[test] |
| 823 | fn must_write_list_begin() { |
| 824 | let (_, mut o_prot) = test_objects(true); |
| 825 | |
| 826 | assert!(o_prot |
| 827 | .write_list_begin(&TListIdentifier::new(TType::Bool, 5)) |
| 828 | .is_ok()); |
| 829 | |
| 830 | let expected: [u8; 5] = [0x02, 0x00, 0x00, 0x00, 0x05]; |
| 831 | assert_eq_written_bytes!(o_prot, expected); |
| 832 | } |
| 833 | |
| 834 | #[test] |
| 835 | fn must_round_trip_list_begin() { |
nothing calls this directly
no test coverage detected