MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / TEST

Function TEST

isis/tests/LidarControlPointTests.cpp:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace Isis;
9
10TEST(LidarControlPoint, EditLock) {
11 LidarControlPoint lcp;
12 lcp.SetEditLock(true);
13
14 ASSERT_TRUE(lcp.IsEditLocked());
15
16 EXPECT_EQ(lcp.setRange(12.0), ControlPoint::Status::PointLocked);
17 EXPECT_EQ(lcp.setSigmaRange(100.0), ControlPoint::Status::PointLocked);
18 EXPECT_EQ(lcp.setTime(iTime(42.0)), ControlPoint::Status::PointLocked);
19}
20
21
22TEST(LidarControlPoint, SettersGetters) {

Callers

nothing calls this directly

Calls 13

setRangeMethod · 0.80
setSigmaRangeMethod · 0.80
EtMethod · 0.80
addSimultaneousMethod · 0.80
snSimultaneousMethod · 0.80
iTimeClass · 0.50
SetEditLockMethod · 0.45
IsEditLockedMethod · 0.45
setTimeMethod · 0.45
rangeMethod · 0.45
sigmaRangeMethod · 0.45
timeMethod · 0.45

Tested by

no test coverage detected