예제 #1
0
        public void Test_AddOutgoingMessage()
        {
            var model = new RoyalGameModel();
            int count = model.outgoingMessages.Count;

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