We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4148095 commit 1656a2fCopy full SHA for 1656a2f
src/lib.rs
@@ -991,6 +991,11 @@ macro_rules! impl_integer_for_usize {
991
assert!((6 as $T).is_multiple_of(&(6 as $T)));
992
assert!((6 as $T).is_multiple_of(&(3 as $T)));
993
assert!((6 as $T).is_multiple_of(&(1 as $T)));
994
+
995
996
+ assert!(!(42 as $T).is_multiple_of(&(5 as $T)));
997
+ assert!(!(5 as $T).is_multiple_of(&(3 as $T)));
998
+ assert!(!(42 as $T).is_multiple_of(&(0 as $T)));
999
}
1000
1001
#[test]
0 commit comments