Ejemplo n.º 1
0
        public void TestVerwijderReactie()
        {
            bericht b        = new bericht("test", "test", "admin", 22009);
            bool    expected = true;
            bool    actual;

            actual = b.Verwijderreactie(new reactie("admin", 22009, "test"));
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Controleer de test methode");
        }
Ejemplo n.º 2
0
 return(Regex.IsMatch(bericht[^ 1].ToString(), @"[0-9]") ? ExtractAantal(bericht, eindIndex) : 0);