Skip to content

Instantly share code, notes, and snippets.


gdyrrahitis/Reverse.cs Secret

Last active Nov 7, 2018
What would you like to do?
[InlineData("a", "a")]
[InlineData("ab", "ba")]
[InlineData("george", "egroeg")]
[InlineData("kata", "atak")]
[InlineData("stack", "kcats")]
[InlineData("eye", "eye")] // This is a palindrome!
public void ShouldReverseWordSuccessfully(string input, string expected)
// Arrange | Act
var result = Reverser.Reverse(input);
// Assert
Equal(expected, result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment