rage_against/
lib.rs

1pub mod the {
2    pub fn machine() -> usize {
3        1991
4    }
5}
6
7#[cfg(test)]
8mod tests {
9    use super::*;
10
11    #[test]
12    fn it_works() {
13        assert_eq!(the::machine(), 1991);
14    }
15}