mirror of
https://gitlab.com/c3d/db48x.git
synced 2024-09-29 05:36:58 +02:00
equations: Rename PerfectGas
equation to IdealGas
This is the way this is described in English. Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
parent
d68f8b26dc
commit
3e7d65a330
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
"Phys"
|
||||
|
||||
"RelativityMassEnergy", "'E=m*Ⓒc^2'"
|
||||
"PerfectGas", "'P*V=n*ⒸR*T'"
|
||||
"RelativityMassEnergy", "'E=m*Ⓒc^2'"
|
||||
"IdealGas", "'P*V=n*ⒸR*T'"
|
||||
|
|
Can't render this file because it has a wrong number of fields in line 3.
|
|
@ -57,7 +57,7 @@ static const cstring basic_equations[] =
|
|||
"Phys", nullptr,
|
||||
|
||||
"RelativityMassEnergy", "'E=m*c^2'",
|
||||
"PerfectGas", "'P*V=n*ⒸR*T'"
|
||||
"IdealGas", "'P*V=n*ⒸR*T'"
|
||||
|
||||
};
|
||||
// clang-format on
|
||||
|
|
|
@ -6607,7 +6607,7 @@ void tests::insertion_of_variables_constants_and_units()
|
|||
.test(CLEAR, "\"NA\" CONST", ENTER)
|
||||
.expect("6.02213 67²³ mol⁻¹");
|
||||
step("Programmatic equation lookup (text)")
|
||||
.test(CLEAR, "\"PerfectGas\" LIBEQ", ENTER)
|
||||
.test(CLEAR, "\"IdealGas\" LIBEQ", ENTER)
|
||||
.expect("'P·V=n·R·T'");
|
||||
step("Programmatic library lookup (text)")
|
||||
.test(CLEAR, "\"LibraryHelp\" XLIB", ENTER)
|
||||
|
@ -6616,7 +6616,7 @@ void tests::insertion_of_variables_constants_and_units()
|
|||
.test(CLEAR, "NotExistent CONST", ENTER)
|
||||
.error("Invalid or unknown constant");
|
||||
step("Programmatic equation lookup (error)")
|
||||
.test(CLEAR, "\"ImperfectGas\" LIBEQ", ENTER)
|
||||
.test(CLEAR, "\"StrangeGas\" LIBEQ", ENTER)
|
||||
.error("Not an equation or program");
|
||||
step("Programmatic library lookup (error)")
|
||||
.test(CLEAR, "\"Glop\" XLIB", ENTER)
|
||||
|
|
Loading…
Reference in a new issue