Example #1
0
        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");
            }
        }
Example #2
0
        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());
            }
        }