示例#1
0
        public void GetListOfCircularPrimesBelowMax_WithMax100_ReturnsExpectedListOfCircularPrimes()
        {
            // Arrange
            var max = 100;
            var expectedListOfPrimes = new List <int> {
                2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, 97
            };

            // Act
            var result = PrimeHelper.GetListOfCircularPrimesBelowMax(max);

            // Result
            result.Should().BeEquivalentTo(expectedListOfPrimes);
        }