diff --git a/src/SillyChat.Test/Translator/PirateTest.cs b/src/SillyChat.Test/Translator/PirateTest.cs index d134268..a95e40f 100644 --- a/src/SillyChat.Test/Translator/PirateTest.cs +++ b/src/SillyChat.Test/Translator/PirateTest.cs @@ -3,7 +3,7 @@ namespace SillyChat.Test { /// - /// Advanced Leet Test. + /// Pirate Test. /// public class PirateTest { diff --git a/src/SillyChat.Test/Translator/TurkeyTest.cs b/src/SillyChat.Test/Translator/TurkeyTest.cs index 5c7469d..1feea24 100644 --- a/src/SillyChat.Test/Translator/TurkeyTest.cs +++ b/src/SillyChat.Test/Translator/TurkeyTest.cs @@ -3,7 +3,7 @@ namespace SillyChat.Test { /// - /// Advanced Leet Test. + /// Turkey Test. /// public class TurkeyTest { diff --git a/src/SillyChat.Test/Translator/UriangerTest.cs b/src/SillyChat.Test/Translator/UriangerTest.cs new file mode 100644 index 0000000..bfed933 --- /dev/null +++ b/src/SillyChat.Test/Translator/UriangerTest.cs @@ -0,0 +1,26 @@ +using Xunit; + +namespace SillyChat.Test +{ + /// + /// Urianger Test. + /// + public class UriangerTest + { + /// + /// Test translation. + /// + /// + /// + [Theory] + [InlineData("cat", "Cat.")] + [InlineData("Hi, how are you?", @"Hail, how art thou?")] + public void StringsAreTranslatedToUrianger(string input, string translation) + { + var plugin = new SillyChatPluginMock(); + var translator = new UriangerTranslator(plugin); + Assert.Equal(translation, translator.Translate(input)); + } + + } +} diff --git a/src/SillyChat.sln.DotSettings b/src/SillyChat.sln.DotSettings index a19ce29..1d65303 100644 --- a/src/SillyChat.sln.DotSettings +++ b/src/SillyChat.sln.DotSettings @@ -7,11 +7,19 @@ True True True + True True True True True + True True + True + True + True + True + True + True True True True @@ -33,9 +41,12 @@ True True True + True + True True True True True True - True \ No newline at end of file + True + True \ No newline at end of file diff --git a/src/SillyChat/SillyChat.csproj b/src/SillyChat/SillyChat.csproj index 4af3da0..fca2740 100644 --- a/src/SillyChat/SillyChat.csproj +++ b/src/SillyChat/SillyChat.csproj @@ -53,7 +53,7 @@ - +