import React from 'react'; interface TestCase { id: number; category: string; query: string; description: string; } interface TestCaseSelectorProps { testCases: TestCase[]; selectedIndex: number; onSelect: (index: number) => void; } export default function TestCaseSelector({ testCases, selectedIndex, onSelect }: TestCaseSelectorProps) { const categoryColors: { [key: string]: string } = { 'Math': 'bg-blue-100 text-blue-800', 'Knowledge': 'bg-green-100 text-green-800', 'Reasoning': 'bg-purple-100 text-purple-800', 'Code': 'bg-orange-100 text-orange-800', 'Creative': 'bg-pink-100 text-pink-800', 'Tool Use': 'bg-indigo-100 text-indigo-800', 'Custom': 'bg-gray-100 text-gray-800' }; return (