Example #1
0
        public void Test_AddIncomingMessage()
        {
            var model = new RoyalGameModel();
            int count = model.incomingMessages.Count;

            model.AddIncomingMessage(new ObjectMoved(10, new PointF(10, 50)));
            Assert.AreEqual(count + 1, model.incomingMessages.Count);
        }