/** * 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()); } }
if (maxResonStruc != -1 && maxResonStruc != 0) electronegativity.setMaxResonStruc(maxResonStruc);