public void CanReadDataset_Contiguous() { TestUtils.RunForAllVersions(version => { // Arrange var filePath = TestUtils.PrepareTestFile(version, fileId => TestUtils.AddContiguousDataset(fileId)); // Act using var root = H5File.OpenReadCore(filePath, deleteOnClose: true); var parent = root.Group("contiguous"); var dataset = parent.Dataset("contiguous"); var actual = dataset.Read <int>(); // Assert Assert.True(actual.SequenceEqual(TestData.HugeData)); }); }