QTP全名Quick Test Professional,是MI公司出品的一款測試工具.它的優(yōu)點是使用方便,功能強大并且可以通過與測試管理工具的互連達到自動化功能測試的目的. QTP是專門針對B/S模式的測試工具.它具有:識別能力強,回放精確等優(yōu)點,是進行B/S模式下功能測試的首選工具
Implement the following integer methods:
a) Method celsius returns the Celsius equivalent of a Fahrenheit calculation
celsius = 5.0 / 9.0 * ( fahrenheit - 32 )
b) Method fahrenheit returns the Fahrenheit equivalent of a Celsius the calculation
fahrenheit = 9.0 / 5.0 * celsius + 32
c) Use the methods from parts (a) and (b) to write an application either to enter a Fahrenheit temperature and display the Celsius or to enter a Celsius temperature and display the Fahrenheit equivalent.