public void Foramisforameur_goed() { //1. Arrange List <String> woorden = new List <String>() { "Fora", "mis", "Forameur" }; List <String> ing = new List <String>() { "spinneweb", "oorlel", "slangegif" }; //2. Act String result = tovenaar.Toverspreuk(ing, woorden); //3. Assert Assert.AreEqual("doe open die poort", result); }
public void Foramisforameur_goed() { //1. Arrange List <string> words = new List <string> { "Fora", "mis", "Forameur" }; List <string> ingredients = new List <string> { "spinneweb", "oorlel", "slangegif" }; //2. Act string res = tovenaar.Toverspreuk(ingredients, words); //3. Assert Assert.AreEqual(res, "doe open die poort"); }