def METHOD_NAME(self, data):
    """
    Check partial sensitivity vector calculated analytically vs fd approximation.
    """
    for component in data:
        for func_name, wrt in data[component]:
            with self.subTest(component=component):
                with self.subTest(wrt=wrt):
                    with self.subTest(of=func_name):
                        np.testing.assert_allclose(
                            data[component][func_name, wrt]["J_rev"],
                            data[component][func_name, wrt]["J_fd"],
                            rtol=self.rtol,
                            atol=self.atol,
                        )