示例#1
0
 public void TestGetEditorFolder(string initPath, string expectedPath)
 {
     Assert.That(
         UnityPathUtils.GetEditorFolder(initPath),
         Is.EqualTo(expectedPath)
         );
 }
        public void TestGetEditorFolder(string initPath, string expectedPath)
        {
            initPath     = initPath.Replace('/', Path.DirectorySeparatorChar);
            expectedPath = expectedPath.Replace('/', Path.DirectorySeparatorChar);

            Assert.That(
                UnityPathUtils.GetEditorFolder(initPath),
                Is.EqualTo(expectedPath)
                );
        }