Exemplo n.º 1
0
 public void Luhn_can_create_larger_numbers_with_valid_check_digit()
 {
     Assert.That(Luhn.Create(873956), Is.EqualTo(8739567));
 }
Exemplo n.º 2
0
 public void Luhn_can_create_huge_numbers_with_valid_check_digit()
 {
     Assert.That(Luhn.Create(837263756), Is.EqualTo(8372637564));
 }
Exemplo n.º 3
0
 public void Luhn_can_create_simple_numbers_with_valid_check_digit()
 {
     Assert.That(Luhn.Create(123), Is.EqualTo(1230));
 }