Skip to content

Commit

Permalink
clean up code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbicodes committed Oct 13, 2023
1 parent b9440ac commit 601a151
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
14 changes: 0 additions & 14 deletions exercises/concept/card-games/.meta/exemplar.clj
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,3 @@
(if (= 11 (last hand))
(concat (butlast hand) '(22))
hand))

(comment
(map rounds '(0 1 10 27 99 666))
(rounds 27)
(concat-rounds '(27 28 29) '(35 36))
(contains-round? '(27 28 29 35 36) 29)
(contains-round? '(27 28 29 35 36) 30)
(card-average '(5 6 7))
(approx-average? '(1 2 3))
(approx-average? '(2 3 4 8 8))
(approx-average? '(1 2 4 5 8))
(average-even-odd? '(1 2 3))
(average-even-odd? '(1 2 3 4))
(maybe-double-last '(5 9 11)))
4 changes: 0 additions & 4 deletions exercises/concept/card-games/test/card_games_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,3 @@
(is (= '((1 2 22) (5 9 22) (5 9 10) (1 2 3))
(map card-games/maybe-double-last
'((1 2 11) (5 9 11) (5 9 10) (1 2 3))))))

(comment
(clojure.test/run-tests)
)

0 comments on commit 601a151

Please sign in to comment.