Пример #1
0
        public string ShowHints()
        {
            var reader = new FieldReader(input);
            var result = "";

            int fieldCount = 1;
            while (reader.HasMoreFields())
            {
                result += GetHeader(fieldCount++) +
                          GetFieldWithHints(reader).Rows + Environment.NewLine;
            }
            return RemoveNewline(result);
        }
Пример #2
0
 public void Empty()
 {
     var reader = new FieldReader("");
     Assert.That(reader.HasMoreFields(), Is.False);
 }