1 unstable release

0.1.0 Jan 2, 2024

#40 in #usize

MIT license

3KB

fe2o3

Conventions

Unit Testing

Unit tests are, as is done in Rust, written directly in the src file. PRs without unit tests are not merged. Example from cargo new:

pub fn add(left: usize, right: usize) -> usize {
    left + right
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
    }
}

Dependencies

~150KB