nitron_tui/lib.rs
1pub fn add(left: u64, right: u64) -> u64 {
2 left + right
3}
4
5#[cfg(test)]
6mod tests {
7 use super::*;
8
9 #[test]
10 fn it_works() {
11 let result = add(2, 2);
12 assert_eq!(result, 4);
13 }
14}
15
16// For you were called to freedom, brothers. Only do not use your freedom as an opportunity for the flesh, but through love serve one another. - Galatians 5:13