From e6c0d55d9d1477962d0525c9ba031467ecc49c1c Mon Sep 17 00:00:00 2001 From: cutlerjake <2jakers44@gmail.com> Date: Thu, 24 Oct 2024 12:40:28 -0300 Subject: [PATCH] add ton_l/s per cubic foot --- src/si/mass_density.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/si/mass_density.rs b/src/si/mass_density.rs index afbf905c..66ca85ac 100644 --- a/src/si/mass_density.rs +++ b/src/si/mass_density.rs @@ -116,6 +116,10 @@ quantity! { "long tons per cubic yard"; @ton_short_per_cubic_yard: 1.186_552_724_990_710_2_E3; "2000 lb/yd³", "short ton per cubic yard", "short tons per cubic yard"; + @ton_long_per_cubic_foot: 3.588_135_685_996_147_4E4; "2240 lb/ft³", + "long ton per cubic foot", "long tons per cubic foot"; + @ton_short_per_cubic_foot: 3.203_692_147_961_372_8E4; "2000 lb/ft³", + "short ton per cubic foot", "short tons per cubic foot"; } } @@ -172,6 +176,8 @@ mod test { test::(); test::(); test::(); + test::(); + test::(); fn test, U: v::Conversion, D: d::Conversion>() { Test::assert_approx_eq(&MassDensity::new::(V::one()),