Merge pull request #1599 from szabgab/if1-test-case

add test-case to if/if1 to check equal values
This commit is contained in:
liv 2023-09-04 13:55:10 +02:00 committed by GitHub
commit 849e4a3647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -25,4 +25,9 @@ mod tests {
fn fortytwo_is_bigger_than_thirtytwo() {
assert_eq!(42, bigger(32, 42));
}
#[test]
fn equal_numbers() {
assert_eq!(42, bigger(42, 42));
}
}