add tests for Data.Iris module

This commit is contained in:
Joshua Whittemore 2019-03-09 13:02:59 -08:00
parent f061df3d23
commit 0cac373539
1 changed files with 6 additions and 0 deletions

View File

@ -14,3 +14,9 @@ using Test
@test FashionMNIST.labels() isa Vector{Int64}
@test Data.Sentiment.train() isa Vector{Data.Tree{Any}}
@test Iris.features() isa Matrix
@test size(Iris.features()) == (4,150)
@test Iris.labels() isa Vector{String}
@test size(Iris.labels()) == (150,)