File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ mod tests {
226
226
} ;
227
227
}
228
228
229
- test_euclid ! ( usize u8 u16 u32 u64 isize ) ;
229
+ test_euclid ! ( usize u8 u16 u32 u64 ) ;
230
230
}
231
231
232
232
#[ test]
@@ -249,7 +249,7 @@ mod tests {
249
249
} ;
250
250
}
251
251
252
- test_euclid ! ( i8 i16 i32 i64 ) ;
252
+ test_euclid ! ( isize i8 i16 i32 i64 ) ;
253
253
}
254
254
255
255
#[ test]
@@ -261,7 +261,7 @@ mod tests {
261
261
let x: $t = 12.1 ;
262
262
let y: $t = 3.2 ;
263
263
assert!( Euclid :: div_euclid( & x, & y) * y + Euclid :: rem_euclid( & x, & y) - x
264
- <=46.4 * <$t as :: float:: FloatCore >:: epsilon( ) ) ;
264
+ <= 46.4 * <$t as :: float:: FloatCore >:: epsilon( ) ) ;
265
265
assert!( Euclid :: div_euclid( & x, & -y) * -y + Euclid :: rem_euclid( & x, & -y) - x
266
266
<= 46.4 * <$t as :: float:: FloatCore >:: epsilon( ) ) ;
267
267
assert!( Euclid :: div_euclid( & -x, & y) * y + Euclid :: rem_euclid( & -x, & y) + x
@@ -291,6 +291,6 @@ mod tests {
291
291
} ;
292
292
}
293
293
294
- test_euclid_checked ! ( i8 i16 i32 i64 ) ;
294
+ test_euclid_checked ! ( isize i8 i16 i32 i64 ) ;
295
295
}
296
296
}
You can’t perform that action at this time.
0 commit comments