Skip to content

Commit 6e21244

Browse files
committed
Relaxed tests on tensorproduct
1 parent 576a2f5 commit 6e21244

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/kernels/tensorproduct.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,27 @@
3232
tmp = Matrix{Float64}(undef, 10, 10)
3333

3434
for kernel in (kernel1, kernel2)
35-
@test kernelmatrix(kernel, X) == trueX
36-
@test kernelmatrix(kernel, X'; obsdim = 1) == trueX
35+
@test kernelmatrix(kernel, X) trueX
36+
@test kernelmatrix(kernel, X'; obsdim = 1) trueX
3737

38-
@test kernelmatrix(kernel, X, Y) == trueXY
39-
@test kernelmatrix(kernel, X', Y'; obsdim = 1) == trueXY
38+
@test kernelmatrix(kernel, X, Y) trueXY
39+
@test kernelmatrix(kernel, X', Y'; obsdim = 1) trueXY
4040

4141
fill!(tmp, 0)
4242
kernelmatrix!(tmp, kernel, X)
43-
@test tmp == trueX
43+
@test tmp trueX
4444

4545
fill!(tmp, 0)
4646
kernelmatrix!(tmp, kernel, X'; obsdim = 1)
47-
@test tmp == trueX
47+
@test tmp trueX
4848

4949
fill!(tmp, 0)
5050
kernelmatrix!(tmp, kernel, X, Y)
51-
@test tmp == trueXY
51+
@test tmp trueXY
5252

5353
fill!(tmp, 0)
5454
kernelmatrix!(tmp, kernel, X', Y'; obsdim = 1)
55-
@test tmp == trueXY
55+
@test tmp trueXY
5656
end
5757
end
5858

@@ -96,10 +96,10 @@
9696
tmp = Matrix{Float64}(undef, 10, 10)
9797

9898
@test kernelmatrix(kernel, X) == trueX
99-
@test kernelmatrix(kernel, X'; obsdim = 1) == trueX
99+
@test kernelmatrix(kernel, X'; obsdim = 1) trueX
100100

101-
@test kernelmatrix(kernel, X, Y) == trueXY
102-
@test kernelmatrix(kernel, X', Y'; obsdim = 1) == trueXY
101+
@test kernelmatrix(kernel, X, Y) trueXY
102+
@test kernelmatrix(kernel, X', Y'; obsdim = 1) trueXY
103103

104104
fill!(tmp, 0)
105105
kernelmatrix!(tmp, kernel, X)

0 commit comments

Comments
 (0)