Added an instance-loading test.

This commit is contained in:
Joshua Eckroth 2013-03-22 10:57:49 -04:00
parent 68ecd8b8e3
commit 30d2c1192f

7
test/clj_ml/io_test.clj Normal file
View file

@ -0,0 +1,7 @@
(ns clj-ml.io-test
(:use [clj-ml io data] :reload-all)
(:use clojure.test midje.sweet))
(deftest load-instances-iris-url
(let [ds (load-instances :arff "http://repository.seasr.org/Datasets/UCI/arff/iris.arff")]
(is (= 150 (dataset-count ds)))))