public void Two_2x2() { var sb = new StringBuilder(); sb.AppendLine("2 2"); sb.AppendLine("**"); sb.AppendLine("**"); sb.AppendLine("2 2"); sb.AppendLine("**"); sb.AppendLine("**"); var reader = new FieldReader(sb.ToString()); var output = reader.ReadField(); Assert.That(output.Rows.ToString(), Is.EqualTo("**" + Environment.NewLine + "**")); output = reader.ReadField(); Assert.That(output.Rows.ToString(), Is.EqualTo("**" + Environment.NewLine + "**")); }
private Field GetFieldWithHints(FieldReader reader) { return (new HintsPopulator(reader.ReadField())).GetHints(); }