コード例 #1
0
ファイル: main.cpp プロジェクト: vinceallenvince/cpp-homework
bool test1() {
    Temperature temperature;
    temperature.setTempFahrenheit(50);
    return roundl(temperature.getTempKelvin()) == 283;
};
コード例 #2
0
ファイル: main.cpp プロジェクト: vinceallenvince/cpp-homework
bool test2() {
    Temperature temperature;
    temperature.setTempCelsius(50);
    return roundl(temperature.getTempKelvin()) == 323;
};
コード例 #3
0
ファイル: main.cpp プロジェクト: vinceallenvince/cpp-homework
bool test0() {
    Temperature temperature;
    temperature.setTempKelvin(50);
    return temperature.getTempKelvin() == 50;
};