String highA[]=new String[]{ "192.168.15.7", "192.168.15.7", "192.168.15.7" };
String cidrS[]=new String[]{ "192.168.15.7/30", "192.168.15.7/31", "192.168.15.7/32"};
int usableAd[]=new int[] { 4 , 2, 1};
for (int i = 0; i < masks.length; ++i) {
SubnetUtils utils = new SubnetUtils(address, masks[i]);
utils.setInclusiveHostCount(true);
SubnetInfo info = utils.getInfo();
assertEquals("ci "+masks[i], cidrS[i], info.getCidrSignature());
assertEquals("bc "+masks[i], bcast[i], info.getBroadcastAddress());
assertEquals("ac "+masks[i], usableAd[i], info.getAddressCount());
assertEquals("nw "+masks[i], netwk[i], info.getNetworkAddress());
assertEquals("lo "+masks[i], lowAd[i], info.getLowAddress());