public void LoadXmlInTreeSmokeTest()
        {
            var isbnRangeMessage =
                ISBNRangeMessage.LoadFromFile(TestContext.CurrentContext.TestDirectory + "\\ISBNRangeMessage.xml");

            var ruleTrees = PrefixTreeBuilder.BuildFromISBNRangeMessage(isbnRangeMessage);

            ruleTrees.Count.Should().Be(2);
        }
Exemplo n.º 2
0
        public ISBN13MetaDataInfoTests()
        {
            var isbnRangeMessage = ISBNRangeMessage.LoadFromFile(TestContext.CurrentContext.TestDirectory + "\\ISBNRangeMessage.xml");

            _ruleTrees = PrefixTreeBuilder.BuildFromISBNRangeMessage(isbnRangeMessage);
        }