Exemplo n.º 1
0
        public void ShouldValidatePerson1IsAdultFromFile(int age, bool expectedResult)
        {
            //Given
            Person2 person = new Person2(age);
            //When
            bool isAdult = person.IsAdult();

            //Then
            Assert.Equal(expectedResult, isAdult);
        }