public void LevelCorrectWhenModelIsLoadedUsingValue() { var model = new StringMarkov(3); model.Learn(ExampleData); model.Save(ModelFileName); var loaded = model.Load <StringMarkov>(ModelFileName, 2); Assert.AreEqual(2, loaded.Level); }
public void LevelCorrectWhenModelIsLoadedUsingValue() { var model = new StringMarkov(3); model.Learn(ExampleData); model.Save(ModelFileName); var loaded = model.Load <StringMarkov>(ModelFileName, 2); Assert.AreEqual(2, loaded.Level); }