public void TestWord() { var data = new TestDataObject(new byte[] { 0x02, 0x00, 0xe8, 0x03 }); Assert.AreEqual(2, data.GetWord(0x00)); Assert.AreEqual(1000, data.GetWord(0x02)); data.SetWord(0x00, 88); Assert.AreEqual(88, data.GetWord(0x00)); }