Example #1
0
        public void getTable()
        {
            DataGestion dataConn = new DataGestion();

            string[,] tableB = dataConn.getIDNames();
            if (tableB.Length != 28)
            {
                throw new ArgumentOutOfRangeException("Le tableau n'a pas la bonne  dimension : " + tableB.Length);
            }
            if (!tableB[3, 0].Contains("AIR FP") || !tableB[3, 1].Contains("AIRBUS GROUP SE"))
            {
                throw new ArgumentOutOfRangeException("les valeurs du tableau ne sont pas correctes");
            }
        }