Skip to content

Commit

Permalink
add interface test
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Dec 30, 2023
1 parent 7ebfd58 commit c60a160
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/interface_tests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using MCIntegration

integrand = (x, c) -> [1.0]
vars = Continuous(0, 1)
dof = [(1,)]
integrate(integrand; dof, vars)
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ if isempty(ARGS)
include("bubble.jl")
include("bubble_FermiK.jl")
include("mpi.jl")
include("interface_tests.jl")
else
include(ARGS[1])
end
Expand Down

0 comments on commit c60a160

Please sign in to comment.