If you have method, which does the string reverse. So normally we writes test cases in Nunit something like this
1 | [ ] |
This means, you are repeating the same code again and again in order to test different possibilities. The down side of this approach is, in long run it will be very difficult to manage the test case when compared to the actual code.
To solve this particular problem NUnit has got parameterised test cases attribute, so the same could be re write above test case to
1 | [ ] |
This gives a clean way for testing different possibilities, all these shown in the NUnit test runner as different test cases like below.
Hope this will help in some way or other