예제 #1
0
 public void LoadSetting_Int32()
 {
     var s = new TestConfigSettings();
     s.Init();
     Assert.IsTrue(s.LoadedWithoutErrors);
     Assert.AreEqual(1, s.TestInt32);
 }
예제 #2
0
 public void LoadSetting_StringArray()
 {
     var s = new TestConfigSettings();
     s.Init();
     Assert.IsTrue(s.LoadedWithoutErrors);
     Assert.AreEqual(3, s.TestStringArray.Count());
 }
예제 #3
0
 public void LoadSetting_String()
 {
     var s = new TestConfigSettings();
     s.Init();
     Assert.IsTrue(s.LoadedWithoutErrors);
     Assert.AreEqual("Value", s.TestString);
 }