mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/calculation] Add Joules to results on energy
Change-Id: Ib775b1bd2bac1fd3bf755a9a4d3d5b3739a67cfa
This commit is contained in:
committed by
Émilie Feral
parent
10f8e2f507
commit
bc7ca057a0
@@ -653,6 +653,8 @@ public:
|
||||
static_assert(strings_equal(k_temperatureRepresentatives[k_celsiusRepresentativeIndex].m_rootSymbol, "°C"), "Index for the Celsius Representative is incorrect.");
|
||||
static constexpr int k_fahrenheitRepresentativeIndex = 2;
|
||||
static_assert(strings_equal(k_temperatureRepresentatives[k_fahrenheitRepresentativeIndex].m_rootSymbol, "°F"), "Index for the Fahrenheit Representative is incorrect.");
|
||||
static constexpr int k_jouleRepresentativeIndex = 0;
|
||||
static_assert(strings_equal(k_energyRepresentatives[k_jouleRepresentativeIndex].m_rootSymbol, "J"), "Index for the Joule Representative is incorrect.");
|
||||
static constexpr int k_electronVoltRepresentativeIndex = 1;
|
||||
static_assert(strings_equal(k_energyRepresentatives[k_electronVoltRepresentativeIndex].m_rootSymbol, "eV"), "Index for the Electron Volt Representative is incorrect.");
|
||||
static constexpr int k_wattRepresentativeIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user