Example #1
0
 public void CPF_New_Erro_Tamanho_Excedido()
 {
     string cpfExceeed = "99999999";
     while (cpfExceeed.Length < CPF.CPFMaxlength)
     {
         cpfExceeed += "999999999999999";
     }
     CPF cpf = new CPF(cpfExceeed);
 }
Example #2
0
 public void CPF_New_InValido()
 {
     string invalidCPF = "65982698809";
     CPF cpf = new CPF(invalidCPF);
 }
Example #3
0
 public void CPF_New_Valido()
 {
     CPF cpf = new CPF(nrCPF);
     Assert.AreEqual(cpf.cpf, nrCPF);
 }
Example #4
0
 public void CPF_New_Nulo()
 {
     CPF cpf = new CPF(null);
 }
Example #5
0
 public void CPF_New_Branco()
 {
     CPF cpf = new CPF(string.Empty);
 }