public void TestAdd ()
	{
		Installer[] ins;
		InstallerCollection lic;

		lic = new TransactedInstaller ().Installers;
		ins = new AssemblyInstaller[3];
		ins[0] = new AssemblyInstaller ();
		ins[1] = new AssemblyInstaller ();
		ins[2] = new AssemblyInstaller ();

		lic.Add (ins[0]);
		lic.Add (ins[1]);

		Assert.AreEqual (2, lic.Count, "#ICOLaa01");
		Assert.AreEqual (ins[0], lic[0], "#ICOLaa02");
		Assert.AreEqual (ins[1], lic[1], "#ICOLaa03");
		Assert.IsTrue (lic.Contains (ins[0]), "#ICOLaa04");
		Assert.IsTrue (lic.Contains (ins[1]), "#ICOLaa05");
		Assert.IsFalse (lic.Contains (ins[2]), "#ICOLaa06");
		Assert.AreEqual (0, lic.IndexOf (ins[0]), "#ICOLaa07");
		Assert.AreEqual (1, lic.IndexOf (ins[1]), "#ICOLaa08");
		Assert.AreEqual (-1, lic.IndexOf (ins[2]), "#ICOLaa08");

		lic.Add (ins[2]);
		Assert.AreEqual (3, lic.Count, "#ICOLaa09");
		Assert.AreEqual (ins[0], lic[0], "#ICOLaa10");
		Assert.AreEqual (ins[1], lic[1], "#ICOLaa11");
		Assert.AreEqual (ins[2], lic[2], "#ICOLaa12");
		Assert.IsTrue (lic.Contains (ins[0]), "#ICOLaa13");
		Assert.IsTrue (lic.Contains (ins[1]), "#ICOLaa14");
		Assert.IsTrue (lic.Contains (ins[2]), "#ICOLaa15");
		Assert.AreEqual (0, lic.IndexOf (ins[0]), "#ICOLaa16");
		Assert.AreEqual (1, lic.IndexOf (ins[1]), "#ICOLaa17");
		Assert.AreEqual (2, lic.IndexOf (ins[2]), "#ICOLaa18");
	}
	public void TestAddRange01 ()
	{
		Installer[] ins;
		InstallerCollection lic;

		lic = new TransactedInstaller ().Installers;
		ins = new AssemblyInstaller[3];
		ins[0] = new AssemblyInstaller ();
		ins[1] = new AssemblyInstaller ();
		ins[2] = new AssemblyInstaller ();

		lic.AddRange (ins);

		Assert.AreEqual (3, lic.Count, "#ICOLab01");
		Assert.AreEqual (ins[0], lic[0], "#ICOLab02");
		Assert.AreEqual (ins[1], lic[1], "#ICOLab03");
		Assert.AreEqual (ins[2], lic[2], "#ICOLab04");
		Assert.IsTrue (lic.Contains (ins[0]), "#ICOLab05");
		Assert.IsTrue (lic.Contains (ins[1]), "#ICOLab06");
		Assert.IsTrue (lic.Contains (ins[2]), "#ICOLab07");
		Assert.AreEqual (0, lic.IndexOf (ins[0]), "#ICOLab08");
		Assert.AreEqual (1, lic.IndexOf (ins[1]), "#ICOLab09");
		Assert.AreEqual (2, lic.IndexOf (ins[2]), "#ICOLab10");
	}