From 3b7454426d85ef3f739810b9c142b0c72a2b7571 Mon Sep 17 00:00:00 2001 From: "Simeon H.K. Fitch" Date: Wed, 19 Oct 2022 15:09:56 -0400 Subject: [PATCH] Removed GDAL 3.5 data types from test, for simplicity. --- src/raster/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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),