message: Test that reading overviews fail if not present
diff: @@ -455,3 +455,13 @@ fn test_read_overviews() {
  assert_eq!(overview_2.size(), (50, 25));
  assert_eq!(overview_4.size(), (25, 13));
  }
  +
  +#[test]
  +fn test_fail_read_overviews() {
  + let dataset = Dataset::open(fixture!("offset_scaled_tinymarble.tif")).unwrap();
  + let overview_count = dataset.overview_count(1).unwrap();
  + assert_eq!(overview_count, 0);
  +
  + let overview_2 = dataset.overview_get(1, 0);
  + assert!(overview_2.is_err());
  +}
  