コード例 #1
0
 public void Cpf_New_Cpf_Valido_40914294830()
 {
     var cpf = new Cpf("409.142.948-30");
     Assert.AreEqual(40914294830, cpf.Codigo);
     Assert.AreEqual("40914294830", cpf.GetCpfCompleto());
     Assert.AreEqual("40914294830", cpf.GetSemZeros());
 }
コード例 #2
0
 public void Cpf_New_Cpf_Valido_02766657401()
 {
     var cpf = new Cpf("027.666.574-01");
     Assert.AreEqual(2766657401, cpf.Codigo);
     Assert.AreEqual("02766657401", cpf.GetCpfCompleto());
     Assert.AreEqual("2766657401", cpf.GetSemZeros());
 }