Skip to content

Instantly share code, notes, and snippets.

@ohcibi
Created February 17, 2014 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohcibi/9053150 to your computer and use it in GitHub Desktop.
Save ohcibi/9053150 to your computer and use it in GitHub Desktop.
(ns bla.core-test
(:use midje.sweet))
(defn split-by-type [s] #{[1 2 3] [:a :b :c]})
(facts "about `split-by-type`"
(fact "it splits a sequence into subsequences of elements with the same type"
(split-by-type []) => []))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment