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.
19 lines
489 B
19 lines
489 B
using MediaBrowser.Model.Extensions;
|
|
using Xunit;
|
|
|
|
namespace Jellyfin.Model.Tests.Extensions
|
|
{
|
|
public class StringHelperTests
|
|
{
|
|
[Theory]
|
|
[InlineData("", "")]
|
|
[InlineData("banana", "Banana")]
|
|
[InlineData("Banana", "Banana")]
|
|
[InlineData("ä", "Ä")]
|
|
public void StringHelper_ValidArgs_Success(string input, string expectedResult)
|
|
{
|
|
Assert.Equal(expectedResult, StringHelper.FirstToUpper(input));
|
|
}
|
|
}
|
|
}
|