namespace ClaudeDo.Ui.Tests;

/// <summary>
/// Tests seed <see cref="ClaudeDo.Data.Models.TaskEntity"/> rows directly instead of going through
/// TaskRepository, so nothing allocates their Number — and every row would default to 0, colliding
/// on the unique index. Hand out a process-wide unique number instead.
/// </summary>
internal static class TestTaskNumbers
{
    private static int _next;

    public static int Next() => Interlocked.Increment(ref _next);
}
