using System.IO;
using UnityEditor;

namespace AIRuntime.Tests
{
    internal static class TestAssetPaths
    {
        internal static string Resolve(string developmentPath)
        {
            if (File.Exists(developmentPath) || Directory.Exists(developmentPath)) return developmentPath;
            if (developmentPath.StartsWith("Assets/Runtime/Docs/"))
                return developmentPath.Replace("Assets/Runtime/Docs/", "Assets/AIRuntime/Documentation/Reference/");
            return developmentPath.Replace("Assets/", "Assets/AIRuntime/");
        }

        internal static string EmptyScene => AssetDatabase.GUIDToAssetPath("edb4629b297e4a26bb4d3a4275537131");
    }
}
