blob: 465926bbd950e88c616fc023763cd3e186bb2863 [file] [log] [blame]
package co.nstant.in.cbor.model;
import org.junit.Assert;
import org.junit.Test;
public class AdditionalInformationTest {
/**
* Additional information values 28 to 30 are reserved for future expansion.
*/
@Test
public void shouldHandleReserved28() {
Assert.assertEquals(AdditionalInformation.RESERVED,
AdditionalInformation.ofByte(28));
Assert.assertEquals(AdditionalInformation.RESERVED,
AdditionalInformation.ofByte(29));
Assert.assertEquals(AdditionalInformation.RESERVED,
AdditionalInformation.ofByte(30));
}
}