public void TestFromHexString()
{
var expectedBytes = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
var actualBytes = Hex.FromHexString("000102030405060708090A0B0C0D0E0F");
Assert.NotNull(actualBytes);
Assert.AreEqual(expectedBytes.Length, actualBytes.Length);
for (var i = 0; i < expectedBytes.Length; ++i)
{
Assert.AreEqual(expectedBytes[i], actualBytes[i]);
}
}