Skip to content

Commit

Permalink
Add runtests.jl and unit test for config
Browse files Browse the repository at this point in the history
  • Loading branch information
alperkesen committed Jul 22, 2019
1 parent 46272f4 commit 85d7c9c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/config.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import AutoML
using Test

@testset "config" begin
inputs = [("feature1", "String"),
("feature2", "Text"),
("feature3", "Int"),
("feature4", "Image"),
("feature5", "Binary Category")]
outputs = [("label1", "Category"),
("label2", "Float")]
@test typeof(AutoML.Config(inputs, outputs)) == AutoML.Config
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include("config.jl")

0 comments on commit 85d7c9c

Please sign in to comment.