# File AGTPixelColorValidator.rb, line 7 def almost_equal(a, b) return true if a == b diff = a - b return true if diff.abs <= 5 return false end