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