fn main() { add_one(0); } fn add_one (x: u64) -> u64 { x + 1 } #[cfg(test)] mod tests { use super::*; use laboratory::{describe, expect, LabResult, NullState}; #[test] fn suite() -> LabResult { describe("add_one()", |suite| { suite.it("should return 1", |_| { expect(add_one(0)).to_equal(1) }) .it_skip("should return 2", |_| { expect(add_one(1)).to_equal(2) }); }).state(NullState).run() } }