コード例 #1
0
 public void Convert_EnumToIntBehavesCorrectly()
 {
     _resourceMapper.ConvertUsing((CustomEnum1 v) => (int)v);
     _resourceMapper.InitializeMap();
     Assert.AreEqual(1, _resourceMapper.Map <CustomEnum1, int>(CustomEnum1.Value2, null));
 }