Last active
October 12, 2024 21:25
-
-
Save PEZ/417aa01f5c5bb4dc3b1c0fea8d48ae88 to your computer and use it in GitHub Desktop.
Nothing but the Truth – Rich 4Clojure Problem 1 – See: https://github.com/PEZ/rich4clojure
This file contains hidden or 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
| (ns rich4clojure.elementary.problem-001 | |
| (:require [hyperfiddle.rcf :refer [tests]])) | |
| ;; = Nothing but the Truth = | |
| ;; By 4Clojure user: dbyrne | |
| ;; Difficulty: Elementary | |
| ;; | |
| ;; Define `__` or replace the `__` in the `(tests ...)` | |
| ;; form with a value which will make the test pass. | |
| ;; | |
| ;; Run the test by loading the file. Once the file is | |
| ;; loaded you can run the tests again by either reloading | |
| ;; the file or evaluating the `(tests ...)` form. | |
| ;; | |
| ;; Don't over think it! Hint: true is equal to true. | |
| (def __ :tests-will-fail) | |
| (comment | |
| ) | |
| (tests | |
| __ := true) | |
| ;; To participate, fork: | |
| ;; https://github.com/PEZ/rich4clojure | |
| ;; Post your solution below, please! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(def __ true)