public void LoadCompatibilityModelTest(int idx) { var filePath = TestFiles.GetCompatibilityFilePath(idx); var model = _LoadModel(filePath); Assert.NotNull(model); }
public void LoadInvalidModelsTest(int idx) { var filePath = TestFiles.GetCompatibilityFilePath(idx); try { ModelRoot.Load(filePath); Assert.Fail("Did not throw!"); } catch (ModelException ex) { TestContext.WriteLine($"{filePath} threw {ex.Message}"); } }