Skip to content

Commit c0ecd9c

Browse files
Add comprehensive tests for physical constants validation in PhysicalConstantsTests.cs
This update introduces additional tests to validate stored values against calculated values from fundamental constants. Key features include checks for mathematical constants, temperature conversion factors, energy conversions, and relationships among nuclear and acoustic constants. The tests ensure precision and physical reasonableness, enhancing the overall validation coverage for physical constants in the Semantics library.
1 parent b919e33 commit c0ecd9c

3 files changed

Lines changed: 1063 additions & 1 deletion

File tree

.cursor/rules/derived-cursor-rules.mdc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,5 @@ When adding XML documentation comments:
143143
* Replace all `Units.` references in `PhysicalDimensions.cs` with the corresponding `Bootstrap` units.
144144
* When working with dimensionless quantities:
145145
* Reserve Radians for Angular Quantities Only
146-
* Create Semantically Appropriate Dimensionless Units. For example, use BootstrapDimensionless, BootstrapDecibel and BootstrapPH for non-angular dimensionless quantities.
146+
* Create Semantically Appropriate Dimensionless Units. For example, use BootstrapDimensionless, BootstrapDecibel and BootstrapPH for non-angular dimensionless quantities.
147+
* **Testing Physical Constants:** Add additional tests for physical constants to validate stored values against calculated values from fundamental constants.

0 commit comments

Comments
 (0)