It's not a theory. It's a law. It's always true and does not need to be tested. It's actually two laws, first law of thermodynamics and Newton's law of cooling (should be called convection, but oh well).
Ya, it does need to be perfect, which is impossible. Not only would it need to be the...