Example #1
0
        public void TestPathManager()
        {
            var pm = new PathsManager();

            for (var i = 0; i < 30; i++)
            {
                pm.PushPath(i.ToString());
            }

            Assert.AreEqual(10, pm.list().Count);
            Assert.AreEqual("29", pm.list().Last());
            Assert.AreEqual("20", pm.list().First());
        }
Example #2
0
 public void addPath(string path)
 {
     PM.PushPath(path);
     Notify("LastPaths");
 }