public void LearnNewKnowledgeTest() { //_network.ActorKnowledge.AddActorId(_agentId); _learningModel.LearnNewKnowledge(_agentId, _knowledge.EntityId, 0, -1, 0); var actorKnowledge = Network.ActorKnowledge.Edge <ActorKnowledge>(_agentId, _knowledge.EntityId); Assert.IsNotNull(actorKnowledge); Assert.IsFalse(actorKnowledge.KnowledgeBits.IsNull); Assert.AreEqual(0, actorKnowledge.KnowledgeBits.GetBit(0)); }