[wpimath] Disable iostream support for units and enable fmtlib (#3481)

Supersedes #2497.
This commit is contained in:
Tyler Veness
2021-07-13 11:41:07 -07:00
committed by GitHub
parent e4dc3908bb
commit 52bddaa97b
4 changed files with 169 additions and 52 deletions

View File

@@ -20,5 +20,5 @@ TEST(FormatterTest, Eigen) {
}
TEST(FormatterTest, Units) {
EXPECT_EQ("4 m s^-1", fmt::format("{}", 4_mps));
EXPECT_EQ("4 mps", fmt::format("{}", 4_mps));
}