==(_:_:)
Compare two measurements of the same Dimension.
Declaration
static func == <LeftHandSideType, RightHandSideType>(lhs: Measurement<LeftHandSideType>, rhs: Measurement<RightHandSideType>) -> Bool where LeftHandSideType : Unit, RightHandSideType : UnitReturn Value
true if the measurements are equal.
Discussion
If lhs.unit == rhs.unit, returns lhs.value == rhs.value. Otherwise, converts rhs to the same unit as lhs and then compares the resulting values.