diff --git a/examples/tests/unit_consistency_misc.nbt b/examples/tests/unit_consistency_misc.nbt index 3a47d485..0ef62126 100644 --- a/examples/tests/unit_consistency_misc.nbt +++ b/examples/tests/unit_consistency_misc.nbt @@ -28,6 +28,10 @@ assert_eq(16 tablespoon, 1 cup) assert_eq(3 teaspoon, 1 tablespoon, 1e-5 teaspoon) assert_eq(1 floz, 2 tablespoon) assert_eq(1 hogshead, 63 gallon) +assert_eq(1 board_foot, 144 inch³) +assert_eq(12 board_foot, 1 ft³, 1e-9 ft³) +assert_eq(1 BF, 1 board_foot) +assert_eq(1 bf, 1 board_foot) assert_eq(1 rod, 16.5 foot) assert_eq(1 foot, 0.3048 meter, 1e-9 m) diff --git a/numbat/modules/units/us_customary.nbt b/numbat/modules/units/us_customary.nbt index 6d95c26d..cc760ec8 100644 --- a/numbat/modules/units/us_customary.nbt +++ b/numbat/modules/units/us_customary.nbt @@ -41,6 +41,11 @@ unit hogshead: Volume = 63 gallon @aliases(barrels) unit barrel: Volume = 42 gallon +@name("Board foot") +@url("https://en.wikipedia.org/wiki/Board_foot") +@aliases(board_feet, BF: short, bf: short) +unit board_foot: Volume = 144 in^3 + @name("US rod") @url("https://en.wikipedia.org/wiki/Rod_(unit)") @aliases(rods, perch)