RegularGaussianGrid extends AbstractGaussianGrid { @Override public long getNumBins() { return getNumRows() * getConfig().getRegularColumnCount(); } RegularGaussianGrid(int numRows); @Override int getRowIndex(long binIndex); @Override long getNumBins();  }
@Test public void testGetNumBins() { assertEquals(64 * 128, grid.getNumBins()); }