public void Platter_RegisterB() { Platter p = new Platter(new byte[] { 0, 0, 0, 255 }); Assert.AreEqual((uint)7, p.RegisterB); p = new Platter(new byte[] { 0, 0, 0, 40 }); Assert.AreEqual((uint)5, p.RegisterB); var newP = p.SetRegisterB(6); Assert.AreEqual((uint)6, newP.RegisterB); }