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 Test3()
		{
			IndexedKeyCollection col = new IndexedKeyCollection();
			
			string[] names = new string[] {
				"Abiathar","Alice Blanch","Almedia J","Anna M","Annie","Anthony Desmond","Anthony James","Barber","Barton William","Board","Bone","Burchell","Caswell","Collins","Corrinna","Cullister Anne","Day","Deborah","Dennis","Duckett","Edward","Edwin","Elizabeth","Eric Gwyn","Farrington","Fiona M","Forrester","Frances C","Geoffrey","George","George F","German","Gillian","Grinning","Groves","Hannah","Harry","Hatfield","Helen Elizabeth","Henry James","Horton","Horwood","Hughes","Hyde","Ira Walter","Irene Winifred","Iris Mary","Ivor Harding","Jane Rosemary","Jean M A","Jean Maud","Jennifer Nancy","Jenny","Jeremy D J","Joanne","John","John Werrett","Kate A","Kathleen Rose Lucy","Keziah","Knight","Locke","Margaret Mary","Mary Jane","Mavis Jean","Michael Bruce","Neville","Paul V","Pete","Peter Bryan","Phillipa","Prewett","Raymond Holloway","Richard G","Sarah F","Slim","Susan","Suzanne Alison","Sybil Beatrice","Sydney Mary","Tewkesbury","Thomas","Timothy","Timothy J","Toby","Tomlinson","Tracy Jane","Valerie C","Vince","Walker","Wallace","Wayne Oakleigh","Wendy","Werrett","Whereatt","Wherrett","Wherritt","White","Wilbur","William","William John","Yendell","Young"
			};

			foreach (string s in names)
			{
				string tmp = col[s, 0, s.Length];
			}
				
			int pos = -1;
			bool found = col.Find("John", 0, 4, out pos);
			
			NUnit.Framework.Assert.AreEqual(true, found, "NOT FOUND!");
			
			string msg = "expected 55\tgot " + pos;
			NUnit.Framework.Assert.AreEqual(true, (pos == 55), 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); 
		}