Hi,
You could do something like this using the RTTOV test suite. The document docs/rttov-test.pdf describes the test suite. You need to get one or more sample input profiles into the required format. I would recommend copying an existing test definition and adapting it to your case. When you run the test using rttov_test.pl, you should specify all relevant options on the command-line. You can then compare the test suite output with your own code for the same profile(s) to ensure they are identical.
The alternative is to ensure every option and input profile variable has been set correctly in your code. Check the details of these structures in the relevant Annex of the user guide to ensure you have not missed any relevant option or input profile variable.
Best wishes,
James