Try this Simple Stepper Code with both motor drivers. I believe it should work with both.
If it does not work with both motors then you have something wrong that needs to be fixed before trying to use more complex code.
One thing to note is that the Easydriver defaults to microstepping IIRC whereas I thing the TB6600 defaults to single stepping.
Also it may be that the TB6600 requires the enable pin to be held HIGH or LOW to get the motor to work. Not all drivers have it set for working by default.
...R
Stepper Motor Basics