There are companies that test compressor tanks ,Im sure they would test a gas tank, having said that in reality an air compressor rusts from the inside out as they contain water, but a gas tank will rust from the outside in as they carry an oil based liquid. So my advise would be a visual...