Merge pull request #2265 from deafloo/main

Add positive tests in `iterators3.rs`
This commit is contained in:
Mo Bitar 2025-08-21 23:26:29 +02:00 committed by GitHub
commit c6888685e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,8 @@ mod tests {
#[test]
fn test_success() {
assert_eq!(divide(81, 9), Ok(9));
assert_eq!(divide(81, -1), Ok(-81));
assert_eq!(divide(i64::MIN, i64::MIN), Ok(1));
}
#[test]