Пример #1
0
 internal static void WriteSpecialValue_SingleValue_HappyPath(CborSpecialValue input, string hexExpectedEncoding)
 {
     byte[] expectedEncoding = hexExpectedEncoding.HexToByteArray();
     using var writer = new CborWriter();
     writer.WriteSpecialValue(input);
     AssertHelper.HexEqual(expectedEncoding, writer.ToArray());
 }