public void LevelUserUpTest() { string fileLevel = ".\\Experience\\UserLevel.prop"; var model = new SVNModel(); model.AddAdd(10); model.AddModified(5); var svnExp = new SVNExperience("TestSVNModel", fileLevel, "SVN"); var exp = new Experience("TestUser", fileLevel, "SVN"); svnExp.AddModel(model); exp.AddPluginExperience(svnExp); Assert.AreEqual(2, exp.Level); Assert.AreEqual(15, exp.ExperiencePoints); }