rust/physfs-rs/tests/test.rs
author unc0rr
Thu, 13 Dec 2018 23:44:46 +0100
changeset 14440 a1613788130d
permissions -rw-r--r--
Adopt physfs-rs lib and adapt it to recent std library, remove global mutex

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());
}