diff --git a/ImperatorToCK3.UnitTests/ConverterGlobalsTests.cs b/ImperatorToCK3.UnitTests/ConverterGlobalsTests.cs new file mode 100644 index 000000000..e0922b93f --- /dev/null +++ b/ImperatorToCK3.UnitTests/ConverterGlobalsTests.cs @@ -0,0 +1,15 @@ +using System.Linq; +using Xunit; + +namespace ImperatorToCK3.UnitTests; + +public class ConverterGlobalsTests { + [Fact] + public void SupportedLanguagesContainsPrimaryLanguageAndSecondaryLanguages() { + var supportedLanguages = ConverterGlobals.SupportedLanguages.ToArray(); + Assert.Contains(ConverterGlobals.PrimaryLanguage, supportedLanguages); + foreach (var secondary in ConverterGlobals.SecondaryLanguages) { + Assert.Contains(secondary, supportedLanguages); + } + } +} \ No newline at end of file