Пример #1
0
 public void TestSimpleEnums()
 {
     foreach (string objectName in expectedResults.Keys)
     {
         Dictionary <string, string> map = expectedResults[objectName];
         foreach (string teststring in map.Keys)
         {
             string expectedResult = map[teststring];
             string result         = EdiBoMapper.FromEdi(objectName, teststring);
             Assert.AreEqual(expectedResult, result);
         }
     }
 }
Пример #2
0
 public void TestSimpleEnums()
 {
     foreach (string objectName in expectedResults.Keys)
     {
         Dictionary <string, string> map = expectedResults[objectName];
         foreach (string teststring in map.Keys)
         {
             string expectedResult = map[teststring];
             //BO4E.StaticLogger.Logger = new Microsoft.Extensions.Logging.Debug.DebugLogger("Testlogger", (log, level) => { return true; });
             string result = EdiBoMapper.fromEdi(objectName, teststring);
             Assert.AreEqual(expectedResult, result);
         }
     }
 }