sfml 0.10.1

Rust binding for sfml
1
2
3
4
5
6
7
8
extern crate sfml;
use self::sfml::network::IpAddress;

#[test]
fn ip_to_string() {
    let ip = IpAddress::new_from_integer(101010);
    assert_eq!(ip.to_string(), "0.1.138.146");
}