int TestDollarConverter(){ DollarToEuroConverter c; TINYTEST_EQUAL_EPSILON(0.782, c.convert(1)); TINYTEST_EQUAL_EPSILON(2.72136, c.convert(3.48)); return 1; }
int DollarToEuro2() { DollarToEuroConverter converter; TINYTEST_EQUAL_EPSILON(-0.906786,converter.convert(-1.0)); return 1; }
int DollarToEuro3() { DollarToEuroConverter converter; TINYTEST_EQUAL_EPSILON(38.085012,converter.convert(42.0)); return 1; }
int DollarToEuro1() { DollarToEuroConverter converter; TINYTEST_EQUAL_EPSILON(0.0,converter.convert(0.0)); return 1; }