@@ -11,6 +11,7 @@ fn you_can_validate_from_a_str() {
1111}
1212
1313#[ test]
14+ #[ ignore]
1415fn you_can_validate_from_a_string ( ) {
1516 let valid = Luhn :: from ( String :: from ( "046 454 286" ) ) ;
1617 let invalid = Luhn :: from ( String :: from ( "046 454 287" ) ) ;
@@ -19,6 +20,7 @@ fn you_can_validate_from_a_string() {
1920}
2021
2122#[ test]
23+ #[ ignore]
2224fn you_can_validate_from_a_u8 ( ) {
2325 let valid = Luhn :: from ( 240u8 ) ;
2426 let invalid = Luhn :: from ( 241u8 ) ;
@@ -27,6 +29,7 @@ fn you_can_validate_from_a_u8() {
2729}
2830
2931#[ test]
32+ #[ ignore]
3033fn you_can_validate_from_a_u16 ( ) {
3134 let valid = Luhn :: from ( 64_436u16 ) ;
3235 let invalid = Luhn :: from ( 64_437u16 ) ;
@@ -35,6 +38,7 @@ fn you_can_validate_from_a_u16() {
3538}
3639
3740#[ test]
41+ #[ ignore]
3842fn you_can_validate_from_a_u32 ( ) {
3943 let valid = Luhn :: from ( 46_454_286u32 ) ;
4044 let invalid = Luhn :: from ( 46_454_287u32 ) ;
@@ -43,6 +47,7 @@ fn you_can_validate_from_a_u32() {
4347}
4448
4549#[ test]
50+ #[ ignore]
4651fn you_can_validate_from_a_u64 ( ) {
4752 let valid = Luhn :: from ( 8273_1232_7352_0562u64 ) ;
4853 let invalid = Luhn :: from ( 8273_1232_7352_0569u64 ) ;
@@ -51,6 +56,7 @@ fn you_can_validate_from_a_u64() {
5156}
5257
5358#[ test]
59+ #[ ignore]
5460fn you_can_validate_from_a_usize ( ) {
5561 let valid = Luhn :: from ( 8273_1232_7352_0562usize ) ;
5662 let invalid = Luhn :: from ( 8273_1232_7352_0569usize ) ;
@@ -59,31 +65,37 @@ fn you_can_validate_from_a_usize() {
5965}
6066
6167#[ test]
68+ #[ ignore]
6269fn single_digit_string_is_invalid ( ) {
6370 assert ! ( !Luhn :: from( "1" ) . is_valid( ) ) ;
6471}
6572
6673#[ test]
74+ #[ ignore]
6775fn single_zero_string_is_invalid ( ) {
6876 assert ! ( !Luhn :: from( "0" ) . is_valid( ) ) ;
6977}
7078
7179#[ test]
80+ #[ ignore]
7281fn valid_canadian_sin_is_valid ( ) {
7382 assert ! ( Luhn :: from( "046 454 286" ) . is_valid( ) ) ;
7483}
7584
7685#[ test]
86+ #[ ignore]
7787fn invalid_canadian_sin_is_invalid ( ) {
7888 assert ! ( !Luhn :: from( "046 454 287" ) . is_valid( ) ) ;
7989}
8090
8191#[ test]
92+ #[ ignore]
8293fn invalid_credit_card_is_invalid ( ) {
8394 assert ! ( !Luhn :: from( "8273 1232 7352 0569" ) . is_valid( ) ) ;
8495}
8596
8697#[ test]
98+ #[ ignore]
8799fn strings_that_contain_non_digits_are_invalid ( ) {
88100 assert ! ( !Luhn :: from( "046a 454 286" ) . is_valid( ) ) ;
89101}
0 commit comments