public void Parse_FormatInvalid_ShouldThrow(string str)
 {
     Assert.Throws <FormatException>(() => ByteArrayUtil.Parse(str));
 }
        public void Parse(string str)
        {
            var data = new byte[] { 0x01, 0xff };

            CollectionAssert.AreEqual(data, ByteArrayUtil.Parse(str));
        }