Skip to content

Commit 2121420

Browse files
committed
Unified nomemclature for tests
1 parent ea06b60 commit 2121420

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

test/runtests.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ using Zygote
99
include("test_util.jl")
1010

1111
@testset "KernelFunctions" begin
12-
include("zygote_rules.jl")
13-
include("kernelmatrix.jl")
14-
include("constructors.jl")
15-
include("testAD.jl")
12+
# include("zygote_rules.jl")
13+
include("test_kernelmatrix.jl")
14+
include("test_constructors.jl")
15+
# include("test_AD.jl")
16+
include("test_transform.jl")
1617
#include("types.jl")
1718
end

test/testAD.jl renamed to test/test_AD.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ vl = l*ones(dims[1])
1313
testfunction(k,A,B) = det(kernelmatrix(k,A,B))
1414
testfunction(k,A) = det(kernelmatrix(k,A))
1515

16-
##Eventually store real results in file
16+
##TODO Eventually store real results in file
1717
@testset "Zygote Automatic Differentiation test" begin
1818
@testset "ARD" begin
1919
for k in kernels
File renamed without changes.

test/test_transform.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tp = LowRankTransform(P)
2323
##
2424
f(x) = sin.(x)
2525
tf = FunctionTransform(f)
26+
KernelFunctions.transform(tf,X,1)
2627
@test all(KernelFunctions.transform(tf,X,1).==f(X))
2728
##
2829
tchain = TransformChain([t,tp,tf])

0 commit comments

Comments
 (0)