Initial commit: Client Doc docs Server Tools
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Xunit;
|
||||
using XWorld.Server.Host;
|
||||
|
||||
namespace XWorld.Server.Host.Tests
|
||||
{
|
||||
public class GameModuleLoaderTests
|
||||
{
|
||||
// ALC 加载 + 跨界类型隔离 + 广播已由 RpsModuleLoadTests 覆盖;此处只保留缺版本的失败路径。
|
||||
[Fact]
|
||||
public void Load_MissingVersion_Throws()
|
||||
{
|
||||
Assert.ThrowsAny<System.Exception>(
|
||||
() => new GameModuleLoader().Load(TestGames.Root, "rps", 99));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user