mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-08 20:45:24 +00:00
18 lines
244 B
Rust
18 lines
244 B
Rust
pub mod channels;
|
|
pub mod entry;
|
|
|
|
pub fn add(left: u64, right: u64) -> u64 {
|
|
left + right
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
use super::*;
|
|
|
|
#[test]
|
|
fn it_works() {
|
|
let result = add(2, 2);
|
|
assert_eq!(result, 4);
|
|
}
|
|
}
|