@Test public void testGetPackedLength() throws Throwable { int result = BCDInterpreter.LEFT_PADDED.getPackedLength(0); assertEquals(0, result, "result"); }
public int getPackedLength(int nDataUnits) { return (nDataUnits + 1) / 2; }
BCDInterpreter implements Interpreter { public int getPackedLength(int nDataUnits) { return (nDataUnits + 1) / 2; } }
BCDInterpreter implements Interpreter { public int getPackedLength(int nDataUnits) { return (nDataUnits + 1) / 2; } private  BCDInterpreter(boolean leftPadded, boolean fPadded); }
BCDInterpreter implements Interpreter { public int getPackedLength(int nDataUnits) { return (nDataUnits + 1) / 2; } private  BCDInterpreter(boolean leftPadded, boolean fPadded); void interpret(String data, byte[] b, int offset); String uninterpret(byte[] rawData, int offset, int length); int getPackedLength(int nDataUnits); }
BCDInterpreter implements Interpreter { public int getPackedLength(int nDataUnits) { return (nDataUnits + 1) / 2; } private  BCDInterpreter(boolean leftPadded, boolean fPadded); void interpret(String data, byte[] b, int offset); String uninterpret(byte[] rawData, int offset, int length); int getPackedLength(int nDataUnits); static final BCDInterpreter LEFT_PADDED; static final BCDInterpreter RIGHT_PADDED; static final BCDInterpreter RIGHT_PADDED_F; static final BCDInterpreter LEFT_PADDED_F; }