Update expected runtime of VPM-B test to match benchmark

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Rick Walsh 2015-08-29 21:14:48 +10:00 committed by Dirk Hohndel
parent 961c218c06
commit 1e7dd49234

View file

@ -413,8 +413,8 @@ void TestPlan::testVpmbMetric100m60min()
QCOMPARE(ev->gas.index, 2); QCOMPARE(ev->gas.index, 2);
QCOMPARE(ev->value, 100); QCOMPARE(ev->value, 100);
QCOMPARE(get_depth_at_time(&displayed_dive.dc, ev->time.seconds), 6000); QCOMPARE(get_depth_at_time(&displayed_dive.dc, ev->time.seconds), 6000);
// check expected run time of 316 minutes // check expected run time of 311 minutes
QVERIFY(compareDecoTime(displayed_dive.dc.duration.seconds, 316u * 60u + 20u)); QVERIFY(compareDecoTime(displayed_dive.dc.duration.seconds, 311u * 60u + 20u));
} }
void TestPlan::testVpmbMetricMultiLevelAir() void TestPlan::testVpmbMetricMultiLevelAir()