public void IOPathImplicitTest()
 {
     string path = "test";
     IOPath target = new IOPath("test");
     string temp = target;
     Assert.AreEqual(temp, path);
 }
 public void IOPathImplicitBackTest()
 {
     IOPath ioPath = new IOPath("test");
     string temp = "test";
     IOPath target = temp;
     Assert.AreEqual(target, ioPath);
 }
 public void IsExistedDirectoryTest2()
 {
     string path = "C:\\temp\\scardsvr.exe";
     IOPath target = new IOPath(path);
     bool expected = false;
     bool actual;
     actual = target.IsExistedDirectory();
     Assert.AreEqual(expected, actual);
 }
 public void IsExistedDirectoryTest1()
 {
     string path = "C:\\temp";
     IOPath target = new IOPath(path);
     bool expected = true;
     bool actual;
     actual = target.IsExistedDirectory();
     Assert.AreEqual(expected, actual);
 }
 public void ToStringTest()
 {
     string path = "test"; // TODO: 初始化为适当的值
     IOPath target = new IOPath(path); // TODO: 初始化为适当的值
     string expected = "test"; // TODO: 初始化为适当的值
     string actual;
     actual = target.ToString();
     Assert.AreEqual(expected, actual);
 }
 public void LastDirectoryTestL()
 {
     string path = "C:/temp/test.exe"; // TODO: 初始化为适当的值
     IOPath target = new IOPath(path); // TODO: 初始化为适当的值
     string expected = "C:/temp/"; // TODO: 初始化为适当的值
     string actual;
     actual = target.LastDirectory();
     Assert.AreEqual(expected, actual);
 }
 public void IsExistedDirectoryTest4()
 {
     string path = null;
     IOPath target = new IOPath(path);
     bool expected = false;
     bool actual;
     actual = target.IsExistedDirectory();
     Assert.AreEqual(expected, actual);
 }