Skip to content

Commit

Permalink
Add blank name test for two-fer
Browse files Browse the repository at this point in the history
  • Loading branch information
dplister committed Nov 12, 2023
1 parent c2d813e commit 1b95c26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exercises/practice/two-fer/two-fer-test.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
(test another-name-given
(is (equal "One for Bob, one for me." (two-fer:twofer "Bob"))))

(test blank-name-given (is (equal "One for you, one for me." (two-fer:twofer ""))))

(test no-name-given (is (equal "One for you, one for me." (two-fer:twofer))))

(defun run-tests (&optional (test-or-suite 'two-fer-suite))
Expand Down

0 comments on commit 1b95c26

Please sign in to comment.