Example #1
0
        public void Platter_RegisterC()
        {
            Platter p = new Platter(new byte[] { 0, 0, 0, 255 });

            Assert.AreEqual((uint)7, p.RegisterC);
            p = new Platter(new byte[] { 0, 0, 0, 4 });
            Assert.AreEqual((uint)4, p.RegisterC);

            var newP = p.SetRegisterC(3);

            Assert.AreEqual((uint)3, newP.RegisterC);
        }