Beispiel #1
0
 public static void AssertShow(this XElement element, IEnumerable<byte> expectedValue)
 {
     element.AssertShow(expectedValue.BytesSequenceToHexadecimalString(":"));
 }
Beispiel #2
0
 public static void AssertShow(this XElement element, string expectedValue, string message)
 {
     element.AssertShow(expectedValue, false, message);
 }
Beispiel #3
0
 public static void AssertShowDecimal(this XElement element, ulong expectedValue)
 {
     element.AssertShow(expectedValue.ToString());
 }
Beispiel #4
0
 public static void AssertShowHex(this XElement element, ulong expectedValue)
 {
     element.AssertShow("0x" + expectedValue.ToString("x" + 2 * sizeof(ulong)));
 }
Beispiel #5
0
 public static void AssertShowDecimal(this XElement element, int expectedValue, string message = null)
 {
     element.AssertShow(expectedValue.ToString(), message);
 }