unit-proc 0.0.3

Procedual macros for physical quantities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn tests() {
    let t = trybuild::TestCases::new();
    t.pass("examples/unit.rs");
    t.pass("examples/indirect_unit.rs");
    t.pass("examples/indirect_init.rs");
    t.pass("examples/initializer.rs");
    t.pass("examples/dim.rs");
    //t.compile_fail("tests/04-variants-with-data.rs");
    //t.compile_fail("tests/05-match-expr.rs");
    //t.compile_fail("tests/06-pattern-path.rs");
    //t.compile_fail("tests/07-unrecognized-pattern.rs");
}