Actually, no, she didn't "learn the language". Yes, she was able to ace every grammar test, but she couldn't hold a simple conversation worth a damn. Learning a language involves a lot more than simply memorizing grammar rules and vocabulary.
Had she actually come to class and participated in...