Example #1
0
bool test1() {
    Temperature temperature;
    temperature.setTempFahrenheit(50);
    return roundl(temperature.getTempKelvin()) == 283;
};
Example #2
0
bool test2() {
    Temperature temperature;
    temperature.setTempCelsius(50);
    return roundl(temperature.getTempKelvin()) == 323;
};
Example #3
0
bool test0() {
    Temperature temperature;
    temperature.setTempKelvin(50);
    return temperature.getTempKelvin() == 50;
};