Example #1
0
        public void TestLoadConfiguration()
        {
            Configuration expected = GreateConfiguration();
            Configuration actual   = HeplerJson.Load <Configuration>(pathFile);

            Assert.AreEqual(actual.Motivations[0].Rules[0].Actions, expected.Motivations[0].Rules[0].Actions);
        }
Example #2
0
 public void TestSaveConfiguration()
 {
     HeplerJson.Save <Configuration>(pathFile, GreateConfiguration());
 }