Skip to content

Commit

Permalink
isbn-verifier: add generator (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Jan 14, 2025
1 parent a305704 commit 9bea2eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exercises/practice/isbn-verifier/.meta/generator.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(ns isbn-verifier-test
(:require [clojure.test :refer [deftest testing is]]
isbn-verifier))
{{#test_cases.isValid}}
(deftest isbn?_test_{{idx}}
(testing {{string description}}
(is ({{#expected~}}true?{{else}}false?{{/expected}} (isbn-verifier/isbn? {{string input.isbn}})))))
{{/test_cases.isValid~}}

0 comments on commit 9bea2eb

Please sign in to comment.