diffsl 0.11.9

A compiler for a domain-specific language for ordinary differential equations (ODE).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(all(feature = "external_dynamic", not(target_arch = "wasm32")))]
include!("support/external_dynamic_test_macros.rs");

#[cfg(all(feature = "external_dynamic", not(target_arch = "wasm32")))]
#[test]
fn external_dynamic_module_missing_required_symbol_errors() {
    let fixture_path = build_fixture_library("external_dynamic_fixture_missing_rhs");
    let err = diffsl::ExternalDynModule::<f64>::new(&fixture_path)
        .err()
        .expect("module construction should fail when rhs is missing");
    assert!(err.to_string().contains("Missing required symbol:"));
}