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); }
public void Test_GetMonsterTypes() { AdoData data = new AdoData(); var expected = 3; var actual = data.GetMonsterTypes(); Assert.Equal(expected, actual.Count); }
public List <MonsterTypeDAO> GetMonsterTypes() { var m = new List <MonsterTypeDAO>(); foreach (var monster in data.GetMonsterTypes()) { m.Add(GenderMapper.MapToMonsterTypeDAO(monster)); } return(m); }
public List <MonsterTypeDAO> GetMonsterType() { var m = new List <MonsterTypeDAO>(); foreach (var monstertype in data.GetMonsterTypes()) { m.Add(MonsterTypeMapper.MapToMonsterTypeDAO(monstertype)); } return(m); }