Ejemplo n.º 1
0
        public void HistoryCanBeAdded()
        {
            var titlesHistory = new TitlesHistory("TestFiles/title_history", new Date(867, 1, 1));
            var history       = titlesHistory.PopTitleHistory("k_greece");
            var title         = new Title();

            title.AddHistory(new LandedTitles(), history);

            Assert.Equal("420", title.GetHolderId(new Date(867, 1, 1)));
            Assert.Equal(20, title.DevelopmentLevel);
        }