The two formally equivalent kinetic energy functionals of an electron gas in the presence of inhomogeneous magnetic fields give inconsistent results when used in a Gordon-Kim (interacting closed-shell atom) calculation. This incon- sistency is a direct measure of the accuracy of the Thomas-Fermi (slowly varying potential) assumption for the system studied. © Taylor & Francis Group, LLC.