helper to create a simple Task with integer payload
(id string)
| 11 | |
| 12 | // helper to create a simple Task with integer payload |
| 13 | func newTask(id string) *queue.Task[int] { |
| 14 | return queue.NewTask(context.Background(), id, "testing", 0) |
| 15 | } |
| 16 | |
| 17 | func TestAddAndLength(t *testing.T) { |
| 18 | q := queue.NewTaskQueue[int]() |
no test coverage detected