@Test public void testObject() { assertEquals(1, DIST.getDegreesOfFreedom(), 0); ChiSquareDistribution other = new ChiSquareDistribution(1); assertEquals(DIST, other); assertEquals(DIST.hashCode(), other.hashCode()); other = new ChiSquareDistribution(1, ENGINE); assertEquals(DIST, other); assertEquals(DIST.hashCode(), other.hashCode()); other = new ChiSquareDistribution(2); assertFalse(other.equals(DIST)); }