public void CanReadDataset_Chunked_With_FillValue_And_AllocationLate() { TestUtils.RunForAllVersions(version => { // Arrange var fillValue = 99; var filePath = TestUtils.PrepareTestFile(version, fileId => TestUtils.AddChunkedDatasetWithFillValueAndAllocationLate(fileId, fillValue)); var expected = Enumerable.Range(0, TestData.MediumData.Length) .Select(value => fillValue) .ToArray(); // Act using var root = H5File.OpenReadCore(filePath, deleteOnClose: true); var group = root.Group("fillvalue"); var dataset = group.Dataset($"{LayoutClass.Chunked}"); var actual = dataset.Read <int>(); // Assert Assert.Equal(expected, actual); }); }