Esempio n. 1
0
        public void GetPackageNamesTest()
        {
            AstRoot ast = RParser.Parse(new TextStream("library(a); library(b); while(T) { library(c) }"));

            string[] names = ast.GetFilePackageNames().ToArray();

            names.Should().Equal("a", "b", "c");
        }