예제 #1
0
        public void Should_calculate_the_composite_integer_multiples_of_10_to_3628800()
        {
            result = euler20Calculator.GetMultipleCalculation(10);

            result.Should().Be(3628800);
        }
예제 #2
0
        public async Task ShiftNegativeToUnsigned_treats_negative_1_as_the_max_unsigned_value()
        {
            var bigInteger = new BigInteger(-1)
                .ShiftNegativeToUnsigned();

            bigInteger
                .Should()
                .Be(SqlGuidPartitionBuilder.MaxUnsigned128BitBigInt);
        }