Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Tests for api #129

Merged
merged 3 commits into from
Sep 1, 2018
Merged

Tests for api #129

merged 3 commits into from
Sep 1, 2018

Conversation

Masclins
Copy link
Collaborator

Joining api/base.clj tests and removing already considered tests.

@@ -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)"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have keys 🙃

(:require [expectations.clojure.test :refer :all]
[clojure.test :as ctest]
[mocking :as mocking]
[api.base :as base]
[configs.hands :as hands]
Copy link
Owner

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?

Copy link
Collaborator Author

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.

@Masclins Masclins dismissed kenan-rhoton’s stale review August 31, 2018 15:24

both changes considered

Copy link
Owner

@kenan-rhoton kenan-rhoton left a 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!

@kenan-rhoton kenan-rhoton merged commit a70501f into develop Sep 1, 2018
@kenan-rhoton kenan-rhoton deleted the mod-new-paradigm branch September 1, 2018 09:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants