Lines Matching refs:Assert
19 Assert.AreEqual(new byte[] {0x0a}, Misc.HexStringToByteArray("0a")); in ShouldGetBytesFromHexString()
20 Assert.AreEqual( in ShouldGetBytesFromHexString()
24 Assert.AreEqual(new byte[] {0x0a, 0xb1}, Misc.HexStringToByteArray("0aB1")); in ShouldGetBytesFromHexString()
25 … Assert.AreEqual(new byte[] {0xb1, 0x0a}, Misc.HexStringToByteArray("0aB1", reverse: true)); in ShouldGetBytesFromHexString()
26 Assert.AreEqual(new byte[] {0x00, 0xab, 0x15}, Misc.HexStringToByteArray("00aB15")); in ShouldGetBytesFromHexString()
27 …Assert.AreEqual(new byte[] {0x15, 0xab, 0x00}, Misc.HexStringToByteArray("00aB15", reverse: true)); in ShouldGetBytesFromHexString()
28 … Assert.AreEqual(new byte[] {0xab}, Misc.HexStringToByteArray("a\tb", ignoreWhitespace: true)); in ShouldGetBytesFromHexString()
29 … Assert.AreEqual(new byte[] {0xab}, Misc.HexStringToByteArray("a\t \nb", ignoreWhitespace: true)); in ShouldGetBytesFromHexString()
30 …Assert.AreEqual(new byte[] {0xab, 0xcd}, Misc.HexStringToByteArray("ab cd", ignoreWhitespace: true… in ShouldGetBytesFromHexString()
31 …Assert.AreEqual(new byte[] {0xcd, 0xab}, Misc.HexStringToByteArray("ab cd", ignoreWhitespace: true… in ShouldGetBytesFromHexString()
32 …Assert.AreEqual(new byte[] {0xab, 0xcd, 0xef}, Misc.HexStringToByteArray("abc def", ignoreWhitespa… in ShouldGetBytesFromHexString()
33 …Assert.AreEqual(new byte[] {0xef, 0xcd, 0xab}, Misc.HexStringToByteArray("abc def", ignoreWhitespa… in ShouldGetBytesFromHexString()
35 Assert.Throws<FormatException>( in ShouldGetBytesFromHexString()
40 Assert.Throws<FormatException>( in ShouldGetBytesFromHexString()
45 Assert.Throws<FormatException>( in ShouldGetBytesFromHexString()
50 Assert.Throws<FormatException>( in ShouldGetBytesFromHexString()
55 Assert.Throws<FormatException>( in ShouldGetBytesFromHexString()