/**
 * TID generator for tests
 * Generates unique TIDs for trail stops
 */

let tidCounter = 0;

/**
 * Generate a unique TID for a trail stop
 */
export function generateTid(): string {
  return `tid_test_${Date.now()}_${++tidCounter}`;
}

/**
 * Reset the TID counter (call in beforeEach)
 */
export function resetTidCounter(): void {
  tidCounter = 0;
}
