public void GetDownPathTest() { string orgPath = "C:\\Users\\david\\Desktop\\Git\\MyLibrary\\MyFileTests\\bin\\Debug"; string file = "test.txt"; string path = FileManger.GetDownPath(orgPath, file); Assert.AreEqual("C:\\Users\\david\\Desktop\\Git\\MyLibrary\\MyFileTests\\bin\\Debug\\test.txt", path); }
public void excTest() { string name = "excTest.bat"; string path = FileManger.GetCurrentPath(); path = FileManger.GetUpPath(path, 2); path = FileManger.GetDownPath(path, "TestFiles"); path = FileManger.GetDownPath(path, name); Commander.exc(path); }