Hi Usman,
Have you already tried to restart Unity? If so, does the file name match the class name inside the file? For example, is the Test class inside the Test.cs file? If so, click the right mouse button in your Assets folder, then on “Reimport all”.
Did this fix it?
See also:
- Forum User Guides : How to mark a topic as solved