-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Denis Smet
committed
Oct 19, 2023
1 parent
123baa3
commit ea48239
Showing
7 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(ns sicp.chapter-1.part_2.ex-1-18-test | ||
(:require [clojure.test :refer [deftest is]]) | ||
(:require [sicp.chapter-1.part_2.ex-1-18 :refer [mult]])) | ||
(:require [clojure.test :refer [deftest is]] | ||
[sicp.chapter-1.part_2.ex-1-18 :refer [mult]])) | ||
|
||
(deftest mult-test | ||
(is (= 0 (mult 0 19)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(ns sicp.chapter-1.part_2.ex-1-22-test | ||
(:require [clojure.test :refer [deftest is]]) | ||
(:require [sicp.chapter-1.part_2.ex-1-22 :refer [find-primes]])) | ||
(:require [clojure.test :refer [deftest is]] | ||
[sicp.chapter-1.part_2.ex-1-22 :refer [find-primes]])) | ||
|
||
(deftest find-primes-test | ||
(is (= 5 (find-primes 1 5)))) ; Change arguments and see the output |