public void TestRepeatNStrz() { RepeatNStrz r = RepeatNStrz.FromFile(SourceFile("repeat_n_strz.bin")); Assert.AreEqual(r.Qty, 2); CollectionAssert.AreEqual(r.Lines, new [] { "foo", "bar" }); }
public void TestRepeatNStrz() { var r = RepeatNStrz.FromFile(SourceFile("repeat_n_strz.bin")); Assert.AreEqual(r.Qty, 2); Assert.AreEqual(r.Lines, new List <string> { "foo", "bar" }); }