-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
backend/src/rules/count_cards.clj
Outdated
@@ -1,7 +1,7 @@ | |||
(ns rules.count-cards) | |||
|
|||
(defn count-cards | |||
"Count all cards that has keys as in condition an sums their summand" | |||
"Count all cards that has keys as in condition (or sums their summand)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have keys 🙃
backend/test/api/base_test.clj
Outdated
(:require [expectations.clojure.test :refer :all] | ||
[clojure.test :as ctest] | ||
[mocking :as mocking] | ||
[api.base :as base] | ||
[configs.hands :as hands] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, this is used below, right? as hands/default-hand
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably that's why it fails the tests (sorry, couldn't run them).
Still... I don't understand how I removed this line... Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a cleanup + reorganization, so not much to review. Approved!
Joining
api/base.clj
tests and removing already considered tests.