Esempio n. 1
0
 public void WritingSystemLdmlVersionGetterGetFileVersion_FileIsVersion1_Returns1()
 {
     using (_environment = new TestEnvironment())
     {
         _environment.WriteContentToWritingSystemLdmlFile(LdmlContentForTests.Version1English());
         var versionGetter = new WritingSystemLdmlVersionGetter();
         Assert.AreEqual(1, versionGetter.GetFileVersion(_environment.PathToWritingSystemLdmlFile));
     }
 }