mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
Added u8_lower_upper test
This commit is contained in:
parent
013da5f0c4
commit
1ad5031c6f
1 changed files with 5 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue