Exemplo n.º 1
0
 public void GetBeliefSumTest1()
 {
     _actorBelief2.SetBeliefBits(_bits2);
     _actorBelief2.BeliefBits.SetBit(0, -1);
     _actorBelief2.BeliefBits.SetBit(1, -1);
     Assert.AreEqual(-2, _actorBelief2.GetBeliefSum());
     _actorBelief2.BeliefBits.SetBit(0, 1);
     _actorBelief2.BeliefBits.SetBit(1, -1);
     Assert.AreEqual(0, _actorBelief2.GetBeliefSum());
 }
Exemplo n.º 2
0
 public void NotInitializedGetBeliefSumTest()
 {
     Assert.AreEqual(0, _actorBelief1.GetBeliefSum());
 }