Clean up unit UDL usage (#6961)

This commit is contained in:
Tyler Veness
2024-08-14 10:44:00 -07:00
committed by GitHub
parent 70fa41c69e
commit 8e0d9ac805
25 changed files with 57 additions and 77 deletions

View File

@@ -18,11 +18,11 @@ TEST_F(NotifierCommandTest, NotifierCommandSchedule) {
frc::sim::PauseTiming();
int counter = 0;
NotifierCommand command([&] { counter++; }, 0.01_s, {});
NotifierCommand command([&] { counter++; }, 10_ms, {});
scheduler.Schedule(&command);
for (int i = 0; i < 5; ++i) {
frc::sim::StepTiming(0.005_s);
frc::sim::StepTiming(5_ms);
}
scheduler.Cancel(&command);