GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 66.7% 4 / 0 / 6
Functions: 75.0% 3 / 0 / 4
Branches: 50.0% 2 / 0 / 4

src/utilities/idd/IddKeyProperties.cpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #include "IddKeyProperties.hpp"
7
8 namespace openstudio {
9
10 6643593 IddKeyProperties::IddKeyProperties() = default;
11
12 6643593 IddKeyProperties::IddKeyProperties(const IddKeyProperties& other) = default;
13
14 5 bool IddKeyProperties::operator==(const IddKeyProperties& other) const {
15
2/4
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
5 return ((this == &other) || (note == other.note));
16 }
17 ✗ bool IddKeyProperties::operator!=(const IddKeyProperties& other) const {
18 ✗ return !(*this == other);
19 }
20
21 } // namespace openstudio
22