Example #1
0
 @Ignore
 @Test
 public void testMakeNewMapWithParent() {
   DoubleDataset rand = Random.rand(gridScanMap.getMap().getShape());
   AxesMetadata ax = gridScanMap.getMap().getFirstMetadata(AxesMetadata.class);
   MetadataType clone = ax.clone();
   rand.setMetadata(clone);
   MappedData map =
       gridScanMap.makeNewMapWithParent("random", Random.rand(gridScanMap.getMap().getShape()));
   assertEquals(gridScanBlock, map.getParent());
 }
Example #2
0
 @Test
 public void testGetData() {
   IDataset d = gridScanMap.getMap();
   assertNotNull(d);
 }