returns true only if a and b are the same to within 4 digits accuracy
| 11 | // returns true only if a and b are the same to within |
| 12 | // 4 digits accuracy |
| 13 | bool areClosef(float a, float b) |
| 14 | { |
| 15 | return std::abs(a - b) < 0.0001; |
| 16 | } |
| 17 | |
| 18 | |
| 19 | bool unitTestBasicTypes() |
no outgoing calls
no test coverage detected