1 2 3 4 5 6 7 8 9 10
use hex_literal::hex; mod common; use common::test_compile_ser; #[test] fn test_bool() { let rec = "bool"; test_compile_ser(rec, "false", Some(&hex!("00")), false); test_compile_ser(rec, "true", Some(&hex!("01")), true); }