public void IsWolf_False() { BitCondition con = new BitCondition(); con.AddWerewolf(Agent.GetAgent(3)); Assert.AreEqual(con.IsMatch(pattern), false); }
public void IsPossessed_False() { BitCondition con = new BitCondition(); con.AddPossessed(Agent.GetAgent(8)); Assert.AreEqual(con.IsMatch(pattern), false); }
public void IsWolf_True2() { BitCondition con = new BitCondition(); con.AddWerewolf(Agent.GetAgent(8)); Assert.AreEqual(con.IsMatch(pattern), true); }
public void IsNotPossessed_True() { BitCondition con = new BitCondition(); con.AddNotPossessed(Agent.GetAgent(8)); Assert.AreEqual(con.IsMatch(pattern), true); }
public void IsNotWerewolfTeam_False() { BitCondition con = new BitCondition(); con.AddNotWerewolfTeam(Agent.GetAgent(7)); con.AddNotWerewolfTeam(Agent.GetAgent(8)); Assert.AreEqual(con.IsMatch(pattern), false); }
public void IsNotWerewolfTeam_True() { BitCondition con = new BitCondition(); con.AddNotWerewolfTeam(Agent.GetAgent(2)); con.AddNotWerewolfTeam(Agent.GetAgent(3)); Assert.AreEqual(con.IsMatch(pattern), true); }
public void SpeedCheck1() { BitCondition con = new BitCondition(); con.AddWerewolf(Agent.GetAgent(15)); for (int i = 0; i < loop; i++) { bool a = con.IsMatch(pattern); } }