public void MapIndexTest() { var map = new TestMappingIndexClass(); Assert.AreEqual(3, map.PropertyMaps.Count); Assert.AreEqual(2, map.PropertyMaps[0].IndexValue); Assert.AreEqual(3, map.PropertyMaps[1].IndexValue); Assert.AreEqual(1, map.PropertyMaps[2].IndexValue); }
public void MapIndexTest() { var map = new TestMappingIndexClass(); //map.CreateMap(); Assert.AreEqual(3, map.PropertyMaps.Count); Assert.AreEqual(2, map.PropertyMaps[0].Data.Index); Assert.AreEqual(3, map.PropertyMaps[1].Data.Index); Assert.AreEqual(1, map.PropertyMaps[2].Data.Index); }