int TestCelsiusConverter(){ CelsiusToFahrenheitConverter c; TINYTEST_EQUAL_EPSILON(33.8, c.convert(1)); TINYTEST_EQUAL_EPSILON(35.006, c.convert(1.67)); return 1; }
int CelciusToFahrenheit2() { CelsiusToFahrenheitConverter converter; TINYTEST_EQUAL_EPSILON(30.2,converter.convert(-1.0)); return 1; }
int CelciusToFahrenheit3() { CelsiusToFahrenheitConverter converter; TINYTEST_EQUAL_EPSILON(107.6,converter.convert(42.0)); return 1; }
int CelciusToFahrenheit1() { CelsiusToFahrenheitConverter converter; TINYTEST_EQUAL_EPSILON(32.0,converter.convert(0.0)); return 1; }