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 5c77140 commit 738b39d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/ChroniclerTests/ChronicleCollectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ public class ChronicleCollectionTest
public void TestParseJson()
{
var chronicleCollection = Chronicler.ChronicleCollection.ParseJson(CK2Json);
Assert.False(string.IsNullOrEmpty(chronicleCollection.Chronicles[0].Chapters[0].Entries[0].Text));

Assert.NotNull(chronicleCollection);
Assert.NotEmpty(chronicleCollection.Chronicles);
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));
Assert.False(string.IsNullOrEmpty(chronicleCollection.Chronicles[0].Chapters[0].Entries[0].Text));
}
}
}

0 comments on commit 738b39d

Please sign in to comment.