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 f9ef6c0 commit 5fedf06Copy full SHA for 5fedf06
src/lib.rs
@@ -604,11 +604,10 @@ macro_rules! impl_integer_for_isize {
604
let separate_div_rem = (n / d, n % d);
605
let combined_div_rem = n.div_rem(&d);
606
607
+ test_division_rule(nd, qr);
608
+
609
assert_eq!(separate_div_rem, qr);
610
assert_eq!(combined_div_rem, qr);
-
- test_division_rule(nd, separate_div_rem);
611
- test_division_rule(nd, combined_div_rem);
612
}
613
614
test_nd_dr((8, 3), (2, 2));
@@ -630,11 +629,10 @@ macro_rules! impl_integer_for_isize {
630
629
(Integer::div_floor(&n, &d), Integer::mod_floor(&n, &d));
631
let combined_div_mod_floor = Integer::div_mod_floor(&n, &d);
632
+ test_division_rule(nd, dm);
633
634
assert_eq!(separate_div_mod_floor, dm);
635
assert_eq!(combined_div_mod_floor, dm);
636
- test_division_rule(nd, separate_div_mod_floor);
637
- test_division_rule(nd, combined_div_mod_floor);
638
639
640
test_nd_dm((8, 3), (2, 2));
0 commit comments