@Test public void testObject() { assertEquals(MU, DIST.getMu(), 0); assertEquals(SIGMA, DIST.getSigma(), 0); assertEquals(KSI, DIST.getKsi(), 0); GeneralizedExtremeValueDistribution other = new GeneralizedExtremeValueDistribution(MU, SIGMA, KSI); assertEquals(DIST, other); assertEquals(DIST.hashCode(), other.hashCode()); other = new GeneralizedExtremeValueDistribution(MU + 1, SIGMA, KSI); assertFalse(other.equals(DIST)); other = new GeneralizedExtremeValueDistribution(MU, SIGMA + 1, KSI); assertFalse(other.equals(DIST)); other = new GeneralizedExtremeValueDistribution(MU, SIGMA, KSI + 1); assertFalse(other.equals(DIST)); }