public void CBounds3_Test() { var c = new CustomBaseArrays() { Base0 = new int[1024], Base2 = new int[1024] }; Utils.TestRoundTrip(c, "CBounds3"); }
public void CBounds2_Test() { var c = new CustomBaseArrays() { Base0 = new[] { 0, 1, 2, 3, 4 }, Base2 = new[] { 0, 1, 2, 3, 4, 5, 6 } }; Utils.TestRoundTrip(c, "CBounds2"); }
public void EmptyTest() { var c = new CustomBaseArrays() { Base0 = new int[0], Base2 = new int[0] }; var res = Utils.SerializeDeserialize(c); Utils.AreEqual(c, res); }
public void NormalTest() { var c = new CustomBaseArrays() { Base0 = new[] { 0, 1, 2, 3, 4 }, Base2 = new[] { 0, 1, 2, 3, 4, 5, 6 } }; var res = Utils.SerializeDeserialize(c); Utils.AreEqual(c, res); }
public void CBounds1_Test() { var c = new CustomBaseArrays(); Utils.TestRoundTrip(c, "CBounds1"); }
public void ShortTest() { var c = new CustomBaseArrays() { Base0 = new[] { 0, 1 }, Base2 = new[] { 2, 3 } }; var res = Utils.SerializeDeserialize(c); Utils.AreEqual(c, res); }
public void NullTest() { var c = new CustomBaseArrays(); var res = Utils.SerializeDeserialize(c); Utils.AreEqual(c, res); }