mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpimath] Disable iostream support for units and enable fmtlib (#3481)
Supersedes #2497.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user