You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.ok(testedSegment.distanceFromStart()===expectedValue,`Expected distance from the start should be ${expectedValue}, encountered ${testedSegment.distanceFromStart()}`)
assert.ok(testedSegment.distanceFromStart(testedDatapoint)===expectedValue,`Expected distance from the start should be ${expectedValue}, encountered ${testedSegment.distanceFromStart(testedDatapoint)}`)
assert.ok(testedSegment.timeSinceStart()===expectedValue,`Expected time since start should be ${expectedValue}, encountered ${testedSegment.timeSinceStart()}`)
assert.ok(testedSegment.timeSinceStart(testedDatapoint)===expectedValue,`Expected time since start should be ${expectedValue}, encountered ${testedSegment.timeSinceStart(testedDatapoint)}`)
assert.ok(testedSegment.distanceToEnd()===expectedValue,`Expected distance from the end to be ${expectedValue}, encountered ${testedSegment.distanceToEnd()}`)
assert.ok(testedSegment.distanceToEnd(testedDatapoint)===expectedValue,`Expected distance from the end to be ${expectedValue}, encountered ${testedSegment.distanceToEnd(testedDatapoint)}`)
assert.ok(testedSegment.timeToEnd(testedDatapoint)===expectedValue,`Expected time to end to be ${expectedValue}, encountered ${testedSegment.timeToEnd(testedDatapoint)}`)
assert.ok(testedSegment.isEndReached(testedDatapoint)===expectedValue,`Expected time to end to be ${expectedValue}, encountered ${testedSegment.isEndReached(testedDatapoint)}`)
0 commit comments