refactor: update error methods

This commit is contained in:
2025-10-13 15:02:34 +03:00
parent e36ba664c6
commit 27b31d1fcc
3 changed files with 39 additions and 54 deletions

View File

@@ -1,14 +0,0 @@
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);
}
}