Example #1
0
        public void Test_Delete_2()
        {
            var u = MUP_Test.MakeUser(0);
            var m = mtup.Delete(u._id);

            Assert.IsFalse(m);
        }
Example #2
0
        public void Test_Delete_3()
        {
            var u = MUP_Test.MakeUser(0);

            mtup.Write(u);
            var m = mtup.Delete(u._id);

            Assert.IsTrue(m);
        }
Example #3
0
        public void Test_Read_Write_1()
        {
            var u = MUP_Test.MakeUser(0);

            mtup.Write(u);
            var m = mtup.Read(u._id);

            Assert.IsNotNull(m);
            Assert.IsTrue(u.Equals(m));
        }