public void TestWriteS8() { sbyte value = -123; testObj.WriteS8(SLOT_INDEX, value); var data = new byte[] { *(byte *)&value }; Verify(slotDestination).SetSlot(Eq(SLOT_INDEX), EqSequence(data)); }
public void TestWriteS8() { sbyte value = -123; testObj.WriteS8(SLOT_INDEX, value); var data = new byte[] { *(byte *)&value }; verify(() => slotDestination.SetSlot(SLOT_INDEX, data)); }