Simulated dark-matter halos as a test of nonextensive statistical mechanics.