@BeforeClass
 public static void setUpClass() {
   TestFileFolder = TestUtils.getGDALargeTestFilesLocation();
   if (TestFileFolder == null) {
     Assert.fail("TestUtils.getGDALargeTestFilesLocation() returned null - test aborted");
   }
   TestFileFolder += "PilatusTiffLoaderTest/";
   testfile1 = TestFileFolder + "fcell_H_8GPa_20keV_18000s_0173.tif";
   testfile2 = TestFileFolder + "ipp16.TIF";
   testfile3 = TestFileFolder + "crl-bestfocus1.tif";
 }
 private void checkDataset(Dataset e, Dataset a) {
   int[] shape = e.getShape();
   Assert.assertArrayEquals("Shape not equal", shape, a.getShape());
   Assert.assertEquals("1st value", e.getDouble(0, 0), a.getDouble(0, 0), 1e-5);
   Assert.assertEquals(
       "last value",
       e.getDouble(shape[0] - 1, shape[1] - 1),
       a.getDouble(shape[0] - 1, shape[1] - 1),
       1e-5);
   TestUtils.assertDatasetEquals(e, a, 1e-14, 1e-14);
 }
 /** @throws Exception */
 @BeforeClass
 public static void setUpBeforeClass() throws Exception {
   testScratchDirectoryName =
       TestUtils.generateDirectorynameFromClassname(TiffLoaderTest.class.getCanonicalName());
   TestUtils.makeScratchDirectory(testScratchDirectoryName);
 }