Skip to content

rojoangel/diamond-kata-clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diamond kata clojure

Diamond Kata using tdd guided by property based tests.

Inspired by Nat Pryce Diamond Kata - TDD with only Property-Based Tests article.

Running the tests

lein test-refresh

Main methods

(diamond.core [ch]) produces a diamond

(diamond.io [diamond] prints a diamond

E.g. this is the diamond generated for \H

-------A-------
------B-B------
-----C---C-----
----D-----D----
---E-------E---
--F---------F--
-G-----------G-
H-------------H
-G-----------G-
--F---------F--
---E-------E---
----D-----D----
-----C---C-----
------B-B------
-------A-------

About

Diamond Kata using property based testing in clojure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published