17181920212223242526
Histogram2D h; listener = new BSERadialEnergyDistributionListener(Math2.ORIGIN_3D, Math2.Z_AXIS, 0.0, 50.0, 5, 100.0, 10, false); h = listener.getDistribution(); assertEquals(10, h.xBinCount()); assertEquals(5, h.yBinCount()); } }