menoh 0.2.2

Binding for Menoh.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::Dtype;

#[test]
fn check_f32() {
    f32::check(menoh_sys::menoh_dtype_float as _).unwrap();
}

#[test]
#[should_panic(expected = "DtypeMismatch")]
fn check_f32_invalid() {
    f32::check((menoh_sys::menoh_dtype_float + 1) as _).unwrap();
}