public void Setup() { _mockInteriorObject = new Mock <IWriter>(); _lsg = new LSG(); _output = new StringBuilder(); _xmlBuilder = XmlWriter.Create(_output, new XmlWriterSettings { ConformanceLevel = ConformanceLevel.Fragment }); }
int FindHavlakLoops(CFG cfg) { var lsg = new LSG(); return(FindHavlakLoops(cfg, lsg)); }
int FindHavlakLoops(CFG cfg, LSG lsg) { var h = new HavlakLoopFinder(cfg, lsg); return(h.FindLoops()); }
public HavlakLoopFinder(CFG cfg, LSG lsg) { this.cfg = cfg; this.lsg = lsg; }
public LoopTesterApp() { cfg = new CFG(); lsg = new LSG(); root = cfg.createNode(0); }
int FindHavlakLoops(CFG cfg) { var lsg = new LSG(); return FindHavlakLoops(cfg, lsg); }
int FindHavlakLoops(CFG cfg, LSG lsg) { var h = new HavlakLoopFinder(cfg, lsg); return h.FindLoops(); }