예제 #1
0
        public void TestWriteU16()
        {
            const ushort value = ushort.MaxValue;

            testObj.WriteU16(SLOT_INDEX, value);
            var data = BitConverter.GetBytes(value);

            Verify(slotDestination).SetSlot(Eq(SLOT_INDEX), EqSequence(data));
        }
예제 #2
0
        public void TestWriteU16()
        {
            const ushort value = ushort.MaxValue;

            testObj.WriteU16(SLOT_INDEX, value);
            var data = BitConverter.GetBytes(value);

            verify(() => slotDestination.SetSlot(SLOT_INDEX, data));
        }