Test-Driven Programming Assignments

Is consuming unit tests as good an introduction to test-driven development as writing your own unit tests? In some ways, it may even be better.