mirror of
https://github.com/simon-brooke/clj-wordcloud.git
synced 2026-01-12 22:49:52 +00:00
Add specs and single arity for word-cloud
This commit is contained in:
parent
ebe2fe049d
commit
5832b23d3b
3 changed files with 50 additions and 4 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
(deftest image-dimensions-test
|
||||
(testing "Test width and height of the generated image"
|
||||
(let [freq-map (zipmap (range 100 130) (range 300))
|
||||
(let [freq-map (zipmap (map str (range 100 130)) (range 300))
|
||||
word-cloud (word-cloud freq-map
|
||||
{:dimension {:width 600
|
||||
:height 600}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue