Skip to content

Commit

Permalink
old tests for functionality that is going to be deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
gottacatchenall committed Apr 19, 2024
1 parent 1974ed6 commit e41c534
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module BONTestOptimize
using Zygote
using StatsBase

# empty method returns missing
#= # empty method returns missing
@test ismissing(optimize())
layers = rand(50,50,5)
Expand All @@ -18,6 +18,8 @@ module BONTestOptimize
@test_throws ArgumentError optimize(layers, loss; learningrate = -0.1)
@test_throws ArgumentError optimize(layers, loss; numsteps = 0)
@test_throws ArgumentError optimize(zeros(50,50), loss; numsteps = 0)
@test_throws ArgumentError optimize(layers, 5; numsteps = 0)
@test_throws ArgumentError optimize(layers, 5; numsteps = 0)=#



end

0 comments on commit e41c534

Please sign in to comment.