Skip to content

Commit

Permalink
hamming: fix generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Feb 24, 2025
1 parent ea1ae28 commit 123fd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/hamming/.meta/generator.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
(is (thrown-with-msg? IllegalArgumentException #{{error}}
(hamming/distance {{input.strand1}} {{input.strand2}})))))
{{else}}
(is (= {{expected}} (hamming/hamming {{input.strand1}} {{input.strand2}})))))
(is (= {{expected}} (hamming/distance {{input.strand1}} {{input.strand2}})))))
{{/if~}}
{{/test_cases.distance}}

0 comments on commit 123fd8f

Please sign in to comment.