Fix overflowing literal in LCM test.

This commit is contained in:
Joseph Crail 2014-11-07 21:24:49 -05:00
parent 1690a26544
commit fc984d4432
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ macro_rules! impl_integer_for_uint {
assert_eq!((1 as $T).lcm(&1), 1 as $T); assert_eq!((1 as $T).lcm(&1), 1 as $T);
assert_eq!((8 as $T).lcm(&9), 72 as $T); assert_eq!((8 as $T).lcm(&9), 72 as $T);
assert_eq!((11 as $T).lcm(&5), 55 as $T); assert_eq!((11 as $T).lcm(&5), 55 as $T);
assert_eq!((99 as $T).lcm(&17), 1683 as $T); assert_eq!((15 as $T).lcm(&17), 255 as $T);
} }
#[test] #[test]