mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
20 lines
503 B
C#
20 lines
503 B
C#
using System;
|
|
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));
|
|
}
|
|
}
|
|
}
|