ferrolearn-core 0.3.0

Core traits, error types, and pipeline for the ferrolearn ML framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Compile-fail tests for ferrolearn type-system safety guarantees.
///
/// These tests verify that unfitted models cannot call `predict()` or
/// `transform()`. Each `.rs` file in `tests/compile_fail/` is compiled
/// by `trybuild` and must fail to compile. A passing test means the
/// compiler correctly rejected the invalid code.
#[test]
fn compile_fail_tests() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/compile_fail/*.rs");
}