Example #1
0
        public void AddMap_null()
        {
            var task = new BaseTask();

            task.AddMap(null);

            Assert.That(task.Maps.Count, Is.EqualTo(0));
        }
Example #2
0
        public void AddMap_success()
        {
            var task = new BaseTask();

            task.AddMap(new MapItem());

            Assert.That(task.Maps.Count, Is.EqualTo(1));
        }