Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreloff committed Feb 23, 2017
1 parent ffc21cb commit 1c08807
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using LearningStrategies
using Base.Test

# write your own tests here
@test 1 == 2
model = nothing
ii = 0
strat = make_learner(MaxIter(20), IterFunction((m,i) -> (global ii; ii=i)))

learn!(model, strat)
@test ii == 20

0 comments on commit 1c08807

Please sign in to comment.