mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Ref T223, use const values for standard pressure
* standardISASeaLevelPressure * use static const values for standard pressure * minor formatting
This commit is contained in:
@@ -162,7 +162,7 @@ namespace BlackMiscTest
|
||||
*/
|
||||
void CTestPhysicalQuantities::pressureTests()
|
||||
{
|
||||
const CPressure p1(1013.25, CPressureUnit::hPa());
|
||||
const CPressure p1(CPhysicalQuantitiesConstants::ISASeaLevelPressure());
|
||||
const CPressure p2(29.92, CPressureUnit::inHg());
|
||||
CPressure p4(p1);
|
||||
p4.switchUnit(CPressureUnit::mbar());
|
||||
|
||||
Reference in New Issue
Block a user