Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jzebedee committed Oct 5, 2019
1 parent 4dbd0bc commit 6546720
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/ChroniclerTests/ChronicleCollectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ public void TestParseJson()
{
var chronicleCollection = Chronicler.ChronicleCollection.ParseJson(CK2Json);
Assert.False(string.IsNullOrEmpty(chronicleCollection.Chronicles[0].Chapters[0].Entries[0].Text));

Assert.Collection(chronicleCollection.Chronicles[0].Chapters,
chap => Assert.NotEmpty(chap.Entries),
chap => Assert.NotEmpty(chap.Entries),
chap => Assert.NotEmpty(chap.Entries),
chap => Assert.NotEmpty(chap.Entries),
chap => Assert.NotEmpty(chap.Entries),
chap => Assert.NotEmpty(chap.Entries));
}
}
}

0 comments on commit 6546720

Please sign in to comment.