Glassbeam interview question

Write a test case for string reverse?

Interview Answer

Anonymous

18 July 2015

Step 1. Read a string value into input. Step 2.apply a string reverse method on the input string value and store into a temp variable Step 3.compare both input and temp variables. If true. Test case is passed. Else its failed.

6