Pre-operative evaluation of lung function test results