Unverified Commit bea6c703 authored by St. Elmo's avatar St. Elmo
Browse files

fix test

parent 0794963b
......@@ -95,7 +95,9 @@ end
community.c[end] = 1.0
community.xl[end] = 0.0
community.xu[end] = 1000.0
d = flux_balance_analysis_dict(community, Tulip.Optimizer; modifications=[change_optimizer_attribute("IPM_IterationsLimit", 1000)])
@test size(stoichiometry(community)) == (2203, 3003)
@test isapprox(d["community_biomass"], 0.8, atol = TEST_TOLERANCE)
@test isapprox(d["community_biomass"], 0.8739215069675402, atol = TEST_TOLERANCE)
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment