def METHOD_NAME(self):
    M1d = discretize.TensorMesh([10], x0="N")
    self.assertRaises(Exception, discretize.TensorMesh, [10], "F")
    M2d = discretize.TensorMesh([10, 10], x0="NN")
    M3d = discretize.TensorMesh([10, 10, 10], x0="NNN")
    self.assertLess(np.abs(M1d.x0 + 1.0).sum(), TOL)
    self.assertLess(np.abs(M2d.x0 + 1.0).sum(), TOL)
    self.assertLess(np.abs(M3d.x0 + 1.0).sum(), TOL)