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 30d89bd commit 254ccd0Copy full SHA for 254ccd0
uint/tests/uint_tests.rs
@@ -1201,18 +1201,6 @@ pub mod laws {
1201
}
1202
1203
1204
- quickcheck! {
1205
- fn div_mod_by_knuth_matches_long_div(x: $uint_ty, y: $uint_ty) -> TestResult {
1206
- if y.is_zero() {
1207
- return TestResult::discard();
1208
- }
1209
-
1210
- TestResult::from_bool(
1211
- (x / y, x % y) == x.div_mod(y)
1212
- )
1213
1214
1215
1216
quickcheck! {
1217
fn rem_decreases_divisor(x: $uint_ty, y: $uint_ty) -> TestResult {
1218
if y.is_zero() {
0 commit comments