public void CheckWin() { game.Execute(new WerewolfVote(ayu.ID, bani.ID)); game.Execute(new WerewolfVote(fina.ID, bani.ID)); game.Execute(new WerewolfVote(ivanka.ID, bani.ID)); game.Vote(new WerewolfVote(ayu.ID, cinta.ID)); game.Vote(new WerewolfVote(cinta.ID, ayu.ID)); game.Vote(new WerewolfVote(dita.ID, ayu.ID)); game.Vote(new WerewolfVote(ester.ID, ayu.ID)); game.Vote(new WerewolfVote(fina.ID, ayu.ID)); game.Vote(new WerewolfVote(grace.ID, ayu.ID)); game.Vote(new WerewolfVote(hanako.ID, ayu.ID)); game.Vote(new WerewolfVote(ivanka.ID, ayu.ID)); game.Vote(new WerewolfVote(jean.ID, ayu.ID)); game.Execute(new WerewolfVote(fina.ID, dita.ID)); game.Execute(new WerewolfVote(ivanka.ID, dita.ID)); game.Vote(new WerewolfVote(cinta.ID, fina.ID)); game.Vote(new WerewolfVote(ester.ID, fina.ID)); game.Vote(new WerewolfVote(fina.ID, ester.ID)); game.Vote(new WerewolfVote(grace.ID, fina.ID)); game.Vote(new WerewolfVote(hanako.ID, fina.ID)); game.Vote(new WerewolfVote(ivanka.ID, fina.ID)); game.Vote(new WerewolfVote(jean.ID, fina.ID)); game.Execute(new WerewolfVote(ivanka.ID, grace.ID)); game.Vote(new WerewolfVote(cinta.ID, ivanka.ID)); game.Vote(new WerewolfVote(ester.ID, ivanka.ID)); game.Vote(new WerewolfVote(hanako.ID, ivanka.ID)); game.Vote(new WerewolfVote(ivanka.ID, hanako.ID)); game.Vote(new WerewolfVote(jean.ID, ivanka.ID)); }
public void InvalidMove() { Exception res = null; game.Execute(new WerewolfVote(Players[0], Players[3])); game.Execute(new WerewolfVote(Players[5], Players[3])); try { game.Execute(new WerewolfVote(Players[7], Players[3])); } catch (Exception e) { res = e; } game.Execute(new WerewolfVote(Players[1], Players[4])); Assert.True(res != null); }