public void TestAddRight() { if (bdd.AddRight("dégénéré" + dt.ToString()) != 1) { Assert.IsTrue(false); } Dictionary <string, string> clauseWHere = new Dictionary <string, string>(); clauseWHere.Add("description", "dégénéré" + dt.ToString()); MySqlDataReader retour = bdd.access.GetData(new string[] { "description" }, new string[] { "user_right" }, clauseWHere); retour.Read(); Assert.AreEqual("dégénéré" + dt.ToString(), retour["description"]); }