acme 0.4.0

acme is an automated context management engine designed for the scsys ecosystem.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
    Appellation: default <test>
    Contrib: FL03 <jo3mccain@icloud.com>
*/

#[test]
fn lib_compiles() {
    fn add<A, B, C>(a: A, b: B) -> C
    where
        A: core::ops::Add<B, Output = C>,
    {
        a + b
    }

    assert_eq!(add(10, 10), 20);
    assert_ne!(add(1, 1), 3);
}