public void VernacularIsoOfFw83RevTest() { var projInfo = new PublicationInformation { DefaultXhtmlFileWithPath = _testFiles.Input("FlexRev83.xhtml"), IsLexiconSectionExist = false }; var input = new DictionaryForMIDsInput(projInfo); Assert.AreEqual("en", input.VernacularIso()); }
public void VernacularIsoFw83Test() { var projInfo = new PublicationInformation { DefaultXhtmlFileWithPath = _testFiles.Input("w1.xhtml"), IsLexiconSectionExist = true }; var input = new DictionaryForMIDsInput(projInfo); Assert.AreEqual("bzh", input.VernacularIso()); }
public void VernacularIsoTest() { PublicationInformation projInfo = new PublicationInformation(); projInfo.DefaultXhtmlFileWithPath = _testFiles.Input("sena3-imba.xhtml"); projInfo.IsLexiconSectionExist = true; var input = new DictionaryForMIDsInput(projInfo); var result = input.VernacularIso(); Assert.AreEqual("seh", result); }