示例#1
0
        public void EvenDigitsOnlyTest1()
        {
            //Arrange
            var input = 248622;
            //Act
            bool isEven = RainsOfReason.EvenDigitsOnly(input);

            //Assert
            Assert.True(isEven);
        }
示例#2
0
 public void EvenDigitsOnlyTest2(bool expected, int input) =>
 Assert.Equal(expected, RainsOfReason.EvenDigitsOnly(input));