示例#1
0
文件: cokbook.cs 项目: M3dic/Cokbook-
        private bool CheckifChefisalreadyvoted(string chef, string text)
        {
            VoteRecipe checkforVote = new VoteRecipe();

            return(checkforVote.AlreadyVoted(chef, text));
        }
示例#2
0
文件: Tests.cs 项目: M3dic/Cokbook-
        public void RecipeVoted()
        {
            VoteRecipe TopRecipeVoteed = new VoteRecipe();

            Assert.That(TopRecipeVoteed.AlreadyVoted("Ivo", "1"), Is.EqualTo(false), "Some useful error message");
        }