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