diff --git a/src/raster/tests.rs b/src/raster/tests.rs index 8239e647..8c5d17b1 100644 --- a/src/raster/tests.rs +++ b/src/raster/tests.rs @@ -905,7 +905,7 @@ fn test_gdal_data_type() { assert_eq!(t.bits(), t.bytes() * 8, "{}", t); let name = t.name().unwrap(); match t.gdal_type() { - GDT_Byte | GDT_UInt16 | GDT_Int16 | GDT_UInt32 | GDT_Int32 | GDT_UInt64 | GDT_Int64 => { + GDT_Byte | GDT_UInt16 | GDT_Int16 | GDT_UInt32 | GDT_Int32 => { assert!(t.is_integer(), "{}", &name); assert!(!t.is_floating(), "{}", &name); } @@ -916,10 +916,10 @@ fn test_gdal_data_type() { o => panic!("unknown type ordinal '{}'", o), } match t.gdal_type() { - GDT_Byte | GDT_UInt16 | GDT_UInt32 | GDT_UInt64 => { + GDT_Byte | GDT_UInt16 | GDT_UInt32 => { assert!(!t.is_signed(), "{}", &name); } - GDT_Int16 | GDT_Int32 | GDT_Int64 | GDT_Float32 | GDT_Float64 => { + GDT_Int16 | GDT_Int32 | GDT_Float32 | GDT_Float64 => { assert!(t.is_signed(), "{}", &name); } o => panic!("unknown type ordinal '{}'", o),