clojure-hackos.utils.test.io-helper

Wraps test cases that consume file input

with-input

(with-input f file & {:keys [linalg], :or {linalg false}})

Applies f to the contents of file, which is converted to a sequence of co-oridnates when the linalg option is true.