summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-09-01 18:17:27 (GMT)
committerGitHub <noreply@github.com>2023-09-01 18:17:27 (GMT)
commit4e2fbaab151dc879010bb94fbc283d4e88048c4c (patch)
tree74c369e89317edb52d0f5709040ef7fa93370dea /java
parent2181af8181491ff90c6dbbcaa00377febd96444b (diff)
downloadhdf5-4e2fbaab151dc879010bb94fbc283d4e88048c4c.zip
hdf5-4e2fbaab151dc879010bb94fbc283d4e88048c4c.tar.gz
hdf5-4e2fbaab151dc879010bb94fbc283d4e88048c4c.tar.bz2
Correct dimensions in java test (#3485)
Diffstat (limited to 'java')
-rw-r--r--java/test/TestH5Arw.java2
-rw-r--r--java/test/TestH5Drw.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/test/TestH5Arw.java b/java/test/TestH5Arw.java
index 56ac7f4..205f3b0 100644
--- a/java/test/TestH5Arw.java
+++ b/java/test/TestH5Arw.java
@@ -278,7 +278,7 @@ public class TestH5Arw {
@Test
public void testH5Aread_32bit_ints()
{
- int[][] attr_data = new int[DIM_X][DIM16_Y];
+ int[][] attr_data = new int[DIM_X][DIM32_Y];
try {
openH5file(H5_INTS_FILE, DATASETU32);
diff --git a/java/test/TestH5Drw.java b/java/test/TestH5Drw.java
index b18bed7..a5caabd 100644
--- a/java/test/TestH5Drw.java
+++ b/java/test/TestH5Drw.java
@@ -226,7 +226,7 @@ public class TestH5Drw {
@Test
public void testH5Dread_32bit_ints()
{
- int[][] dset_data = new int[DIM_X][DIM16_Y];
+ int[][] dset_data = new int[DIM_X][DIM32_Y];
try {
openH5file(H5_INTS_FILE, DATASETU32);