Added an instance-loading test.
This commit is contained in:
parent
68ecd8b8e3
commit
30d2c1192f
1 changed files with 7 additions and 0 deletions
7
test/clj_ml/io_test.clj
Normal file
7
test/clj_ml/io_test.clj
Normal 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)))))
|
Loading…
Reference in a new issue