Question d’entretien chez Microsoft

reverse a string of words. and how do u test your program?