public void ConvertFromSuccessTest() { var c = new StringBytesArrayTypeConverter(); var r2 = c.ConvertFrom("XXXX") as byte[]; var r3 = Convert.FromBase64String("XXXX"); Assert.AreEqual(r2.Length, r3.Length); for (var i = 0; i < r2.Length; i++) { Assert.AreEqual(r2[i], r3[i]); } }
public void ConvertFromInt() { var c = new StringBytesArrayTypeConverter(); c.ConvertFrom(24); }