rust/physfs-rs/tests/test.rs
author unC0Rr
Fri, 16 Jun 2023 21:06:46 +0200
changeset 15989 723be7e392e5
parent 14456 a1613788130d
permissions -rw-r--r--
Fix off-by-1 error leading to crash

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