Re: test a serie list

2011-09-02 Thread Tassilo Horn
Wilker writes: > My problem is, I wanna do somekind of loop and test each entry on > test-data, all in one, I tried some (for) loops but it made the test > run no assertion at all... This is my (for) trial (don't works): > > (deftest test-compute-hash > (for [{:keys [path hash]} (vals subdb-tes

test a serie list

2011-09-02 Thread Wilker
Hi Guys, I'm just starting with Clojure (finished reading Programming Clojure, from PragProg). I mean may question should be really newbie, but I'm still confused about all functional stuff... I have this test code: (def subdb-test-data {:dexter{:path "fixtures/dexter.mp4",:hash "ffd8d4a