Skip to content

Commit 249e4cb

Browse files
committed
Test to check if particlesmc is in path
1 parent e168e04 commit 249e4cb

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

test/runtests.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ using Distributions
66
using ComponentArrays
77
using DelimitedFiles
88

9+
@testset "Running from CLI" begin
10+
@test success(`bash -c "command -v particlesmc"`)
11+
@test success(`particlesMC params.toml`)
12+
end
13+
14+
915
@testset "Potential energy test" begin
1016
# Test inital configuration
1117
chains_el = load_chains("config_0.exyz", args=Dict("temperature" => [0.231], "model" => ["JBB"], "list_type" => "EmptyList"))
@@ -165,4 +171,6 @@ end
165171
energy_ll = readdlm(path_energy_ll)[:, 2]
166172
@test isapprox(energy_el, energy_ll, atol=1e-6)
167173

168-
end
174+
end
175+
176+

0 commit comments

Comments
 (0)