1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
mod lazer;
pub use lazer::*;

#[cfg(test)]
mod tests {
    // Note this useful idiom: importing names from outer (for mod tests) scope.
    use super::*;

    #[test]
    fn test_print() {
        assert_eq!(3, 3);
    }
}