package SE2;
public class Coursier
{

	public static void main(String[] args)
	{ new IHMPoste();}}
//		
//		for (int i=0;i<10;i++)
//		{
//			try
//			{
//				if (Math.random()<0.5)
//				{
//					System.out.print("Ajout d'une lettre...");
//					sac.ajouter(new Lettre(Math.random()<0.5));
//					System.out.println("ok");
//				}
//				else
//				{
//					System.out.print("Ajout d'un colis...");
//					sac.ajouter(new Colis (1+((int)(10*Math.random()))/2.0));
//					System.out.println("ok");
//				}
//			}
//			catch (SacPleinException e)
//			{
//				System.out.println("echec! Volume du courrier: "+e.volCourrier+", volume du sac: "+e.volAct+"/"+e.volMax+".");
//			}
//		}

//		double s = 0;
//		System.out.println("Le sac contient:");
//		for (int i=0;i<sac.getNbCourrier();i++)
//		{
//			System.out.println(sac.getCourrier(i));
//			s += sac.getCourrier(i).affranchir();
//		}
//		System.out.println("----------------");		
//		System.out.println("Prix total: "+s);		
//	}
//}