def METHOD_NAME(self):
    def listisclose(a, b, rel_tol=1e-09, abs_tol=1.0e-20):
        for ai, bi in zip(a, b):
            if not abs(ai - bi) <= max(rel_tol * max(abs(ai), abs(bi)), abs_tol):
                return False
        return True
    # Build and run a small program to test the installed sprng library
    spec = self.spec
    print("Checking sprng installation...")
    checkdir = "spack-check"
    with working_dir(checkdir, create=True):
        source = r"""