Beispiel #1
0
 public virtual void TestFillStaticField()
 {
     NUnit.Framework.Assert.AreEqual(-1, ArgumentParserTest.StaticClass.staticOption);
     ArgumentParser.FillOptions(typeof(ArgumentParserTest.StaticClass), "-option.static", "42");
     NUnit.Framework.Assert.AreEqual(42, ArgumentParserTest.StaticClass.staticOption);
 }