-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix character volume calculation (#74348)
* Provide body volume calculation based on body density * Simplify calculations * Adjust test cases to the volume calculation * Adjust volumes for baseline tests too * Make checks for volume pass within reasaonable ranges Relying on volumes down to the ml allows us to make changes to volume calculations, and keep the tests withing reasaonable boundaries. references #74263 * Make checks for volume less dependent on exact volumes Make tests more flexible * Make tests exact, set character to exact calorie count This strategy makes the test repeatable * Remove unused header units.h
- Loading branch information
Showing
2 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters