rust/physfs-rs/tests/test.rs
author Wuzzy <Wuzzy2@mail.ru>
Thu, 10 Jan 2019 19:09:06 +0100
changeset 14543 78363dbfd5dc
parent 14435 a1613788130d
permissions -rw-r--r--
Prevent wind bar from overflowing with high wind values Wind flow overflow does not happen normally, but might be triggered when calling SetWind with extreme values (>100 or <-100). Allows for silly wind experiments in scripts.

extern crate physfs;

use physfs::PhysFSContext;

mod directory;

// from project_root
const PATH_TO_HERE: &'static str = "tests/";

//#[test]
fn test_create_physfs_context() {
    let _c = PhysFSContext::new().unwrap();
    assert!(PhysFSContext::is_init());
}