public void GetLinesFromZeroOrOneBlockTest() { int patternLength = 3; var pattern = new string('\0', patternLength); LineBuilder builder = new LineBuilder(pattern, null); string text = "a"; var textBlock = new TextBlock(text); var zeroOrOneBlock = new ZeroOrOneBlock(textBlock); List<string> lines = builder.GetLinesFromZeroOrOneBlock(0, zeroOrOneBlock).ToList(); string[] expectedLines = new[] { "", "a" }; CollectionAssert.AreEquivalent(expectedLines, lines); }