1#[allow(bad_style)] 2mod ffi; 3 4pub use crate::ffi::*; 5 6#[test] 7fn poke() { 8 unsafe { 9 let tmp = opj_create_compress(CODEC_FORMAT::OPJ_CODEC_J2K); 10 assert!(!tmp.is_null()); 11 opj_destroy_codec(tmp); 12 } 13}