Пример #1
0
            public void UInt64_ShouldReturnExpectedResult(ulong input, ulong expected)
            {
                // Act
                var actual = BinaryMath.SetMostSignificantBit(input);

                // Assert
                Assert.Equal(expected, actual);
            }
Пример #2
0
            public void Int32_ShouldReturnExpectedResult(int input, int expected)
            {
                // Act
                var actual = BinaryMath.SetMostSignificantBit(input);

                // Assert
                Assert.Equal(expected, actual);
            }