mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Modified public presentation files
This commit is contained in:
parent
c9eb725a51
commit
73c8ade3a2
7 changed files with 77 additions and 27 deletions
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use gamedig::protocols::valve::ValveProtocol;
|
||||
|
||||
#[test]
|
||||
fn tf2() {
|
||||
let response = ValveProtocol::query("5.15.202.107", 27015);
|
||||
match response {
|
||||
Err(_) => println!("fuck"),
|
||||
Ok(r) => println!("{}", r.name)
|
||||
}
|
||||
assert_eq!(4, 4);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue