Example #1
0
        public void ParseExcludedVerseLine()
        {
            versification.ParseExcludedVerseLine("-GEN 1:31");

            // Confirm that the expected verse is added to the hash table.
            HashSet <int> excludedVerses = versification.excludedVerses();

            Assert.AreEqual(1, excludedVerses.Count);
            Assert.IsTrue(excludedVerses.Contains(new VerseRef("GEN 1:31").BBBCCCVVV));
            Assert.IsTrue(versification.IsExcluded(new VerseRef("GEN 1:31").BBBCCCVVV));
        }