public void ReadAndPeek()
		{
			StringScanner scanner = new StringScanner(Text);
			int i=0;

			while (!scanner.AtEnd)
			{
				Assert.Less(i, Text.Length);
				Assert.AreEqual(Text[i], scanner.Peek());
				scanner.Read();
				++i;
			}

			Assert.AreEqual(Text.Length, i);
		}
		public void Offset_IncrementedAfterRead()
		{
			StringScanner scanner = new StringScanner(Text);
			scanner.Read();
			Assert.AreEqual(1,scanner.Offset);
		}
		public void Read_AtEnd_Throws()
		{
			StringScanner scanner = new StringScanner(Text);
			scanner.Seek(Text.Length);
			Assert.IsTrue(scanner.AtEnd);
			Assert.Throws<InvalidOperationException>(
				() => scanner.Read());
		}