Skip to content

Commit b34e7f4

Browse files
committed
add tests
1 parent 0636977 commit b34e7f4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# printing
2+
io = IOBuffer()
3+
for act in (Id(), ReLU(), Sigmoid(), Tanh(), LeakyReLU(0.1))
4+
println(io, act)
5+
end

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import Flux, MAT, ONNX, YAML
77
struct TestActivation <: ActivationFunction end
88

99
@testset "Architecture" begin
10+
@testset "ActivationFunction" begin
11+
include("Architecture/ActivationFunction.jl")
12+
end
1013
@testset "AbstractLayerOp" begin
1114
include("Architecture/AbstractLayerOp.jl")
1215
end

0 commit comments

Comments
 (0)