public void Test1()
		{
			IndexedKeyCollection col = new IndexedKeyCollection();
			
			string tmp;
			
			tmp = col["I01", 0, 3];
			tmp = col["F1", 0, 2];
			tmp = col["F2", 0, 2];
			tmp = col["I02", 0, 3];
			tmp = col["I03", 0, 3];
			tmp = col["I04", 0, 3];
			tmp = col["NOTE1", 0, 5];
			tmp = col["I012", 0, 4];

			System.Console.WriteLine(col.ToString());			
			
			int pos = -1;
			bool found = col.Find("I012", 0, 4, out pos);
			
			NUnit.Framework.Assert.AreEqual(true, found, "NOT FOUND!");
			
			string msg = "expected 3\tgot " + pos;
			NUnit.Framework.Assert.AreEqual(true, (pos == 3), msg); 
		}
		public void Test2()
		{
			IndexedKeyCollection col = new IndexedKeyCollection();
			
			string tmp;
			
			tmp = col["HEAD", 0, 4];
			tmp = col["SOUR", 0, 4];
			tmp = col["VERS", 0, 4];
			tmp = col["NAME", 0, 4];
			tmp = col["CORP", 0, 4];
			tmp = col["ADDR", 0, 4];
			tmp = col["CONT", 0, 4];
			tmp = col["PHON", 0, 4];
			tmp = col["DEST", 0, 4];
			tmp = col["DATE", 0, 4];
			tmp = col["CHAR", 0, 4];
			tmp = col["SUBM", 0, 4];
			tmp = col["FILE", 0, 4];
			tmp = col["GEDC", 0, 4];
			tmp = col["FORM", 0, 4];
			tmp = col["INDI", 0, 4];
			
			System.Console.WriteLine(col.ToString());			
			
			int pos = -1;
			bool found = col.Find("NAME", 0, 4, out pos);
			
			NUnit.Framework.Assert.AreEqual(true, found, "NOT FOUND!");
			
			string msg = "expected 11\tgot " + pos;
			NUnit.Framework.Assert.AreEqual(true, (pos == 11), msg); 
		}
		public void Test4()
		{
			IndexedKeyCollection col = new IndexedKeyCollection();
			
			string[] names = new string[] {
				"Grinning", "Sydney Mary ", "Day", "Susan ","Vince","Wayne Oakleigh ","Bone","Anna M ", "Annie"
			};

			foreach (string s in names)
			{
				string tmp = col[s, 0, s.Length];
			}
			
			System.Console.WriteLine(col.ToString());						
	
			int pos = -1;
			bool found = col.Find("Grinning", 0, 8, out pos);
			
			NUnit.Framework.Assert.AreEqual(true, found, "NOT FOUND!");
			
			string msg = "expected 4\tgot " + pos;
			NUnit.Framework.Assert.AreEqual(true, (pos == 4), msg); 
		}