예제 #1
0
        public void is_legal_code_valid(string nationalCode)
        {
            var validation = new NationalCodeAttribute(IsCompanyNationalCode: true);
            var isValid    = validation.IsValid(nationalCode);

            Assert.True(isValid);
        }
예제 #2
0
        public void is_natioanl_code_valid(string nationalCode)
        {
            var validation = new NationalCodeAttribute();
            var isValid    = validation.IsValid(nationalCode);

            Assert.True(isValid);
        }