public void TestWriteS16() { const short value = short.MinValue; testObj.WriteS16(SLOT_INDEX, value); var data = BitConverter.GetBytes(value); Verify(slotDestination).SetSlot(Eq(SLOT_INDEX), EqSequence(data)); }
public void TestWriteS16() { const short value = short.MinValue; testObj.WriteS16(SLOT_INDEX, value); var data = BitConverter.GetBytes(value); verify(() => slotDestination.SetSlot(SLOT_INDEX, data)); }