From 5766d1894c2fb3e5343ee12ce188d48e38b56e24 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 5 Jul 2015 22:30:02 -0700 Subject: Adapt the test to the API change Signed-off-by: Dirk Hohndel --- tests/testplan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/testplan.cpp b/tests/testplan.cpp index f08cfdeeb..8fa09213b 100644 --- a/tests/testplan.cpp +++ b/tests/testplan.cpp @@ -40,8 +40,8 @@ void setupPlan(struct diveplan *dp) int droptime = M_OR_FT(79, 260) * 60 / M_OR_FT(23, 75); plan_add_segment(dp, droptime, M_OR_FT(79, 260), bottomgas, 0, 1); plan_add_segment(dp, 30*60 - droptime, M_OR_FT(79, 260), bottomgas, 0, 1); - plan_add_segment(dp, 0, gas_mod(&ean36, po2, M_OR_FT(3,10)).mm, ean36, 0, 1); - plan_add_segment(dp, 0, gas_mod(&oxygen, po2, M_OR_FT(3,10)).mm, oxygen, 0, 1); + plan_add_segment(dp, 0, gas_mod(&ean36, po2, &displayed_dive, M_OR_FT(3,10)).mm, ean36, 0, 1); + plan_add_segment(dp, 0, gas_mod(&oxygen, po2, &displayed_dive, M_OR_FT(3,10)).mm, oxygen, 0, 1); } void TestPlan::testMetric() -- cgit v1.2.3-70-g09d2