How can I make sure that a theme was properly installed, including child theme?

How can I test if a theme was correctly installed, including parent and child theme?