You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
437 B
18 lines
437 B
8 months ago
|
using FluentAssertions;
|
||
|
using NUnit.Framework;
|
||
|
using NzbDrone.Common.Extensions;
|
||
|
|
||
|
namespace NzbDrone.Common.Test.ExtensionTests.StringExtensionTests
|
||
|
{
|
||
|
[TestFixture]
|
||
|
public class ReverseFixture
|
||
|
{
|
||
|
[TestCase("input", "tupni")]
|
||
|
[TestCase("racecar", "racecar")]
|
||
|
public void should_reverse_string(string input, string expected)
|
||
|
{
|
||
|
input.Reverse().Should().Be(expected);
|
||
|
}
|
||
|
}
|
||
|
}
|