示例#1
0
        public void MemLoadIntTest()
        {
            OwnMath.memDel();

            //check memLoadInt()
            OwnMath.memAdd(25.4);
            Assert.AreEqual(25, OwnMath.memLoadInt());

            OwnMath.memAdd(0.5);
            Assert.AreEqual(26, OwnMath.memLoadInt());

            OwnMath.memDel();
        }