public void Int64Test() { using (SoodaTransaction tran = new SoodaTransaction()) { PKInt64 test2 = PKInt64.Load(77777777777778); Assert.AreEqual(test2.Parent.Id, 77777777777777); Assert.AreEqual((string)test2.Parent.Data, "test data"); Assert.AreEqual((string)test2.Data, "test data 2"); } }
public void Int64Test() { string ser; using (SoodaTransaction tran = new SoodaTransaction()) { PKInt64 test = new PKInt64(); PKInt64 test2 = PKInt64.Load(77777777777777); Assert.AreEqual((string)test2.Data, "test data"); ser = tran.Serialize(); tran.Deserialize(ser); Assert.AreEqual(ser, tran.Serialize()); } }