mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 07:53:30 +02:00
Merge pull request #2265 from deafloo/main
Add positive tests in `iterators3.rs`
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user