/** * A unit test suite for JUnit. * * @return The test suite * @throws Exception */ @Test public void testGetMaxResonStruc() throws Exception { PiElectronegativity pe = new PiElectronegativity(); Assert.assertSame(50, pe.getMaxResonStruc()); }
/** * A unit test suite for JUnit. * * @return The test suite * @throws Exception */ @Test public void testSetMaxResonStruc_Int() throws Exception { PiElectronegativity pe = new PiElectronegativity(); int maxRes = 10; pe.setMaxResonStruc(maxRes); Assert.assertSame(maxRes, pe.getMaxResonStruc()); } }