Example #1
0
 public void Assert(string desc, bool isBroken)
 {
     if (isBroken) {
         BrokenRule rule = new BrokenRule();
         rule.Name ="";
         rule.Desc = desc;
         this.Add(rule);
     }
 }
Example #2
0
 public void Add(string desc)
 {
     BrokenRule rule = new BrokenRule();
     rule.Name=""; rule.Desc = desc;
     this.Add(rule);
 }
Example #3
0
 public void Add(BrokenRule rule)
 {
     List.Add(rule);
 }