private void RunTest(string test) { var p = new GccMangledNameParser(test, 4); var sp = p.Parse(); var sb = new StringBuilder(); Debug.Print(new Renderer(sb).Render(p.Modifier, p.Scope, sp.Name, sp.Type)); }
private void RunTest(string expected, string parse) { var p = new GccMangledNameParser(parse, 4); var sp = p.Parse(); var sb = new StringBuilder(); Assert.AreEqual(expected, new Renderer(sb).Render(p.Modifier, p.Scope, sp.Name, sp.Type)); }