We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc06f89 commit 8a39550Copy full SHA for 8a39550
src/TestParse.jl
@@ -9,3 +9,13 @@ s = r.products[1]
9
@test getEnthalpy(s.thermo,1000.0) ≈ 20677.0 rtol=1e-4
10
@test getEnthalpy(out["phase"]["Species"][5].thermo,1000.0) ≈ 20677.2 rtol=1e-4
11
end;
12
+
13
+@testset "Read fragment input from file" begin
14
+ out = readinput("../src/testing/minimal_rmg_fragment.rms")
15
+ fragment = out["phase"]["Species"][5]
16
17
+ # check that fragment structure is parsed correctly and the representative molecule is assigned
18
+ @test fragment.atomnums["C"] == 18
19
+ @test fragment.molecularweight ≈ 0.25046 rtol=1e-4
20
+ @test fragment.radius ≈ 4.66375e-10 rtol=1e-4
21
+end;
0 commit comments