def test_Fx(self):
        r = np.random.rand(self.M.nFx)
        P = self.M.getInterpolationMat(self.M.gridFx, 'Fx')
        assert np.abs(P[:,:self.M.nFx]*r - r).max() < TOL
dataset/ETHPy150Open simpeg/simpeg/tests/mesh/test_TreeMesh.py/Test3DInterpolation.test_Fx/original