コード例 #1
0
        public void Int16_ToBytes_ReturnsExpectedValue(short input, short expectedResult)
        {
            // Act
            var result = PackHelper.Int16(input);

            // Assert
            result.Should().ContainInOrder(BitConverter.GetBytes(expectedResult));
        }