@Test public void testSetPowerLimit() throws IOException, AccessException, InterruptedException { double b4 = ce.getPowerLimit(); ce.setPowerLimit(b4 + 1); Assert.assertEquals(b4 + 1, ce.getPowerLimit()); }
@Test public void testGetIntervalValue() throws IOException, AccessException, InterruptedException { System.out.println( Arrays.toString( ce.getIntervalValue(new Date(new Date().getTime() - 48 * 60 * 60 * 1000), 0, 1))); }
@Test public void testGetPowerLimit() throws IOException, AccessException, InterruptedException { System.out.println(ce.getPowerLimit()); }
@Test public void testGetTariffSumm() throws IOException, AccessException, InterruptedException { System.out.println(ce.getTariffSumm(0)); }
@Test public void testSetDateTime() throws IOException, AccessException, InterruptedException { ce.setDateTime(new Date()); }
@Test public void testGetDateTime() throws IOException, AccessException, InterruptedException { System.out.println(ce.getDateTime()); }
@Test public void testGetConfig() throws IOException, AccessException, InterruptedException { ce.init(); System.out.println(ce.getIntervalLength()); System.out.println(ce.getFloatPointKoef()); }
@Test public void testInit() throws IOException, AccessException, InterruptedException { System.out.println(HEXUtils.toString(ce.init())); }