1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

tests ~ (sub-crate/od) fix expected f16 formatted test value

This commit is contained in:
Roy Ivy III 2020-08-08 23:18:43 -05:00
parent b2483cb3c3
commit 5478ca9108

View file

@ -211,7 +211,7 @@ fn test_format_flo16() {
assert_eq!(format_flo16(f16::from_f32(-0.2)), " -0.2000");
assert_eq!(format_flo16(f16::from_f32(-0.02)), "-2.000e-2");
assert_eq!(format_flo16(f16::MIN_POSITIVE_SUBNORMAL), " 5.966e-8");
assert_eq!(format_flo16(f16::MIN_POSITIVE_SUBNORMAL), " 5.960e-8");
assert_eq!(format_flo16(f16::MIN), " -6.550e4");
assert_eq!(format_flo16(f16::NAN), " NaN");
assert_eq!(format_flo16(f16::INFINITY), " inf");