public void AddRuleTest()
{
bool BooleanValue = false;
int IntegerValue = 0;
var Getopt = new Getopt(new string[] { "-b", "-i", "50" });
Getopt.AddRule("-b", ref BooleanValue);
Getopt.AddRule("-i", ref IntegerValue);
Getopt.Process();
Assert.AreEqual(true, BooleanValue);
Assert.AreEqual(50, IntegerValue);
}