Exemplo n.º 1
0
        public void Import_TestSorted()
        {
            IEnumerable <Translation> translations =
                DatFileUtility.Import(TEST_DATA_SORTED_PATH_IN, new CultureInfo("en-GB"));

            Assert.IsNotNull(translations);
            Assert.IsTrue(translations.Any());
        }
Exemplo n.º 2
0
        public void Import_TestUnsorted()
        {
            IEnumerable <Translation> translations = DatFileUtility.Import(TEST_DATA_UNSORTED_PATH_IN,
                                                                           new CultureInfo("en-GB"), FileType.UnsortedCreditsStringFile);

            Assert.IsNotNull(translations);
            Assert.IsTrue(translations.Any());
        }