### Question:
ZipfianGenerator extends NumberGenerator { @Override public Long nextValue() { return nextLong(items); } ZipfianGenerator(long _items);  ZipfianGenerator(long _min, long _max);  ZipfianGenerator(long _items, double _zipfianconstant);  ZipfianGenerator(long min, long max, double _zipfianconstant);  ZipfianGenerator(long min, long max, double _zipfianconstant, double _zetan); @Override Long nextValue(); static void main(String[] args); @Override double mean(); static final double ZIPFIAN_CONSTANT; }### Answer:
@Test public void testMinAndMaxParameter() { long min = 5; long max = 10; ZipfianGenerator zipfian = new ZipfianGenerator(min, max); for (int i = 0; i < 10000; i++) { long rnd = zipfian.nextValue(); assertFalse(rnd < min); assertFalse(rnd > max); } }