Пример #1
0
 public void Add_ThreeByteArraysAndTwoStrings()
 {
     byte[] array = LF.Add(TEXT_DATA, CR, TEXT_DATA, FF);
     ShouldEqualWithDiff(array.ToUTF8(), $"{LF.ToUTF8()}{TEXT_DATA}{CR.ToUTF8()}{TEXT_DATA}{FF.ToUTF8()}");
 }
Пример #2
0
 public void Add_IgnoringNonStringNonByteArray()
 {
     byte[] array = LF.Add(TEXT_DATA, 1, CR, DateTime.Now, 10.5, 785m, new UnitTest(), FF);
     ShouldEqualWithDiff(array.ToUTF8(), $"{LF.ToUTF8()}{TEXT_DATA}{CR.ToUTF8()}{FF.ToUTF8()}");
 }
Пример #3
0
 public void Add_FourByteArrays()
 {
     byte[] array = LF.Add(HT, CR, FF);
     ShouldEqualWithDiff(array.ToUTF8(), $"{LF.ToUTF8()}{HT.ToUTF8()}{CR.ToUTF8()}{FF.ToUTF8()}");
 }