[wpilib] Update GetMatchTime docs and units (#5232)

This commit is contained in:
Thad House
2023-08-03 21:45:26 -07:00
committed by GitHub
parent 6db2c42966
commit d83a6edc20
7 changed files with 45 additions and 26 deletions

View File

@@ -230,7 +230,7 @@ TEST(DriverStationTest, MatchTime) {
DriverStationSim::SetMatchTime(kTestTime);
frc::sim::DriverStationSim::NotifyNewData();
EXPECT_EQ(kTestTime, DriverStationSim::GetMatchTime());
EXPECT_EQ(kTestTime, DriverStation::GetMatchTime());
EXPECT_EQ(kTestTime, DriverStation::GetMatchTime().value());
EXPECT_TRUE(callback.WasTriggered());
EXPECT_EQ(kTestTime, callback.GetLastValue());
}