Beispiel #1
0
        public void NotIsHappyNumber([Values(2, 11)] int numero)
        {
            //Arrange
            var katayuno = new Katayuno();
            //Act
            var expected = katayuno.IsHappyNumber(numero);

            //Assert
            Assert.False(expected);
        }
Beispiel #2
0
        public void IsHappyNumber([Values(1, 10, 19, 82, 68, 100)] int numero)
        {
            //Arrange
            var katayuno = new Katayuno();
            //Act
            var expected = katayuno.IsHappyNumber(numero);

            //Assert
            Assert.True(expected);
        }