sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMN_COUNT, "0");
sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_ROWS, "fixed");
sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMNS, "variable");
format.setParent(sfi);
index = new NDimensionalIndex(new int[] {0});
assertTrue("shouldn't skip format.0",
!createPaneContext(index).ignore());
index = new NDimensionalIndex(new int[] {3});
assertTrue("shouldn't skip format.3",
!createPaneContext(index).ignore());
index = new NDimensionalIndex(new int[] {4});
assertTrue("shouldn't skip format.4",
!createPaneContext(index).ignore());
index = new NDimensionalIndex(new int[] {5});
assertTrue("shouldn't skip format.5",
!createPaneContext(index).ignore());
index = new NDimensionalIndex(new int[] {1000});
assertTrue("shouldn't skip format.1000",
!createPaneContext(index).ignore());
index = NDimensionalIndex.ZERO_DIMENSIONS;
assertTrue("should treat format as format.0",
!createPaneContext(index).ignore());
index = new NDimensionalIndex(new int[] {1, 2});
assertTrue("should treat format1.2 as format.1",
!createPaneContext(index).ignore());
}