Skip to content

Commit

Permalink
Add some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace committed Feb 21, 2024
1 parent 070c631 commit bad9ebb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ using Test
SEKernel() => ScalarSEKernel(),
LinearKernel() => ScalarLinearKernel(),
PeriodicKernel() => ScalarPeriodicKernel(),
PeriodicKernel(; r = [2.]) => ScalarPeriodicKernel(2.)
PeriodicKernel(; r = [2.]) => ScalarPeriodicKernel(2.),
2. * SEKernel() + 3. * LinearKernel() => 2. * ScalarSEKernel() + 3. * ScalarLinearKernel(),
SEKernel() * PeriodicKernel() => ScalarSEKernel() * ScalarPeriodicKernel()
)
@testset for (kernel1, kernel2) in (
(k1, k2),
Expand Down

0 comments on commit bad9ebb

Please sign in to comment.