1 2 3 4 5 6 7 8 9 10 11 12
#![cfg(feature = "mux")] use libwebp_sys::{WebPMuxDelete, WebPMuxNew}; #[test] fn test_new_and_delete() { unsafe { let ptr = WebPMuxNew(); assert!(!ptr.is_null()); WebPMuxDelete(ptr); } }