isbn-verifier: Added tests for long string and invalid characters
@@ -75,6 +75,18 @@ fn test_invalid_isbn_too_long() {
assert!(!is_valid_isbn("3-598-21507-XX"));
}
+#[test]
+#[ignore]
+fn test_valid_digits_invalid_length() {
+ assert!(!is_valid_isbn("35982150881"));
+}
+
+#[test]
+#[ignore]
+fn test_special_characters() {
+ assert!(!is_valid_isbn("!@#%!@"));
+}
+
#[test]
#[ignore]
#[allow(non_snake_case)]
