mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
spqlios basic wrapper
This commit is contained in:
9
spqlios/tests/module.rs
Normal file
9
spqlios/tests/module.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use spqlios::bindings::{module_info_t, module_type_t_FFT64};
|
||||
use spqlios::module::create_module;
|
||||
|
||||
#[test]
|
||||
fn test_new_module_info() {
|
||||
let N: u64 = 1024;
|
||||
let module_ptr: *mut module_info_t = create_module(N, module_type_t_FFT64);
|
||||
assert!(!module_ptr.is_null());
|
||||
}
|
||||
Reference in New Issue
Block a user