Added u8_lower_upper test

This commit is contained in:
CosminPerRam 2022-11-28 01:56:46 +02:00
parent 013da5f0c4
commit 1ad5031c6f

View file

@ -124,6 +124,11 @@ mod tests {
assert_eq!(address_and_port_as_string("192.168.0.1", 27015), "192.168.0.1:27015");
}
#[test]
fn u8_lower_upper_test() {
assert_eq!(u8_lower_upper(171), (11, 10));
}
#[test]
fn get_u8_test() {
let data = [72];