They are fine with Go. Not with whole codebases but libraries/functions around a thousand lines of code are written perfectly with tests (Although, I always say, never let the LLM write the tests AND the code, or at least write your own tests in addition to what it generates).