We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb381bf commit 1c489afCopy full SHA for 1c489af
Tests/Time/scheduler_test.cpp
@@ -49,6 +49,15 @@ TEST_F(SchedulerTests, SetAt) {
49
}
50
51
52
+TEST_F(SchedulerTests, FrontId_PopFront) {
53
+ Scheduler::sorted_task_ids_ = 0xFEDCBA9876543210ULL;
54
+ for (uint8_t i = 0; i < 16; i++) {
55
+ uint8_t id = Scheduler::front_id();
56
+ Scheduler::pop_front();
57
+ EXPECT_EQ(id, i);
58
+ }
59
+}
60
+
61
TEST_F(SchedulerTests, FreeBitmap) {
62
Scheduler::register_task(10, &fake_workload);
63
EXPECT_EQ(Scheduler::free_bitmap_, 0xFFFF'FFFE);
0 commit comments