use of com.nightscout.core.dexcom.records.CalRecord in project android-uploader by nightscout.
the class CalRecordTest method shouldNotParseSmallCal505Record.
@Test(expected = InvalidRecordLengthException.class)
public void shouldNotParseSmallCal505Record() throws Exception {
record505 = Arrays.copyOfRange(record505, 0, record505.length - 1);
CalRecord calRecord = new CalRecord(record505);
}
use of com.nightscout.core.dexcom.records.CalRecord in project android-uploader by nightscout.
the class CalRecordTest method shouldNotParseSmallCalPre505Record.
@Test(expected = InvalidRecordLengthException.class)
public void shouldNotParseSmallCalPre505Record() throws Exception {
recordPre505 = Arrays.copyOfRange(recordPre505, 0, recordPre505.length - 1);
CalRecord calRecord = new CalRecord(recordPre505);
}
Aggregations