Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

in clojure:

  (with-test
      (defn my-function [x y]
      (+ x y))
    (is (= 4 (my-function 2 2)))
    (is (= 7 (my-function 3 4))))


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: