1
0

feat: update bmap-rs

This commit is contained in:
2026-02-18 20:23:54 +08:00
parent 6ea43cd82f
commit cf0966e6d3
6 changed files with 189 additions and 29 deletions

View File

@@ -0,0 +1,9 @@
use bmap_rs::bmap_wrapper as bmap;
#[test]
fn test_complete() {
assert!(bmap::BMap::is_available());
bmap::BMap::with_bmap(|b| {
let r = b.create_file_reader("", "", "", &[""]);
});
}

View File

@@ -1,7 +1,7 @@
use bmap_rs::bmap;
#[test]
fn test_init_and_dispose() {
fn test_raw() {
assert!(unsafe { bmap::BMInit() });
assert!(unsafe { bmap::BMDispose() });
}