예제 #1
0
        public void Test_GetMonsterType()
        {
            AdoData data   = new AdoData();
            var     actual = data.GetMonsterTypes();

            Assert.NotNull(actual);
        }
        public void Test_GetMonsterTypes()
        {
            var data   = new AdoData();
            var actual = data.GetMonsterTypes();

            Assert.NotNull(actual.Count);
        }
예제 #3
0
        public void Test_GetMonsterTypes()
        {
            AdoData data     = new AdoData();
            var     expected = 3;

            var actual = data.GetMonsterTypes();

            Assert.Equal(expected, actual.Count);
        }
예제 #4
0
        public List <MonsterTypeDAO> GetMonsterTypes()
        {
            var m = new List <MonsterTypeDAO>();

            foreach (var monster in data.GetMonsterTypes())
            {
                m.Add(GenderMapper.MapToMonsterTypeDAO(monster));
            }

            return(m);
        }
예제 #5
0
        public List <MonsterTypeDAO> GetMonsterType()
        {
            var m = new List <MonsterTypeDAO>();

            foreach (var monstertype in data.GetMonsterTypes())
            {
                m.Add(MonsterTypeMapper.MapToMonsterTypeDAO(monstertype));
            }

            return(m);
        }