Fix un-annotated test in types crate
This commit is contained in:
parent
a13dd0d871
commit
d7f8c60f93
@ -535,6 +535,7 @@ mod tests {
|
|||||||
assert_saturating_sub(1, 2, 0);
|
assert_saturating_sub(1, 2, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
fn saturating_add() {
|
fn saturating_add() {
|
||||||
let assert_saturating_add = |a: u64, b: u64, result: u64| {
|
let assert_saturating_add = |a: u64, b: u64, result: u64| {
|
||||||
assert_eq!($type(a).saturating_add($type(b)), $type(result));
|
assert_eq!($type(a).saturating_add($type(b)), $type(result));
|
||||||
|
Loading…
Reference in New Issue
Block a user