Under what condition the magnitude of average velocity of a particle is equal to the average speed?

The magnitude of the average velocity of a particle is equal to the average speed if it moves with constant velocity.