using System; using System.IO; namespace XWorld.Server.Host.Tests { internal static class TestGames { // 测试工程把 TestGames/** 拷到输出目录;运行时从这里取 games 根 // 前置条件:先运行 build-test-games.sh 生成 TestGames(否则此目录不存在) public static string Root => Path.Combine(AppContext.BaseDirectory, "TestGames"); } }