Skip to content

Commit

Permalink
Update exercises/practice/dnd-character/.meta/generator.tpl
Browse files Browse the repository at this point in the history
Co-authored-by: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com>
  • Loading branch information
ErikSchierboom and tasxatzial authored Jan 21, 2025
1 parent f7f8994 commit 11a0ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/dnd-character/.meta/generator.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
expected (+ 10 (dnd-character/score-modifier (:constitution character)))]
(is (= expected (:hitpoints character))))))

(deftest character_test_14
(deftest rand-character_test_14
(testing "random character is generated randomly"
(is (>= (count (set (repeatedly 100 #(dnd-character/rand-character)))) 5))))

0 comments on commit 11a0ad2

Please sign in to comment.