| 32 | } |
| 33 | |
| 34 | int Integer::compare(const Integer& obj) const |
| 35 | { |
| 36 | if (m_value < obj.m_value) |
| 37 | return -1; |
| 38 | else if (m_value == obj.m_value) |
| 39 | return 0; |
| 40 | else |
| 41 | return 1; |
| 42 | } |
| 43 | |
| 44 | void Integer::show() const |
| 45 | { |
nothing calls this directly
no outgoing calls
no test coverage detected