示例#1
0
        public async Task MaturityUserIdentificationTest4()
        {
            //Arrange

            //Act
            bool isOver18 = UserIdentificationValidationHelper.MaturityValidateIdentificationNumberTest("2902004120092", new DateTime(2022, 02, 27));

            //Assert
            Assert.AreEqual(isOver18, false, "Not valid date");
        }
示例#2
0
        public async Task MaturityUserIdentificationTest1()
        {
            //Arrange

            //Act
            bool isOver18 = UserIdentificationValidationHelper.MaturityValidateIdentificationNumberTest("1606000120092", new DateTime(2018, 06, 15));

            //Assert
            Assert.AreEqual(isOver18, false, "Not valid date");
        }