Skip to content

Commit 8842224

Browse files
committed
[修改]1. 修改Actor Type 的值导致的编译错误
1 parent d0fe856 commit 8842224

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Tests/GameFrameX.Tests/ActorIdGeneratorTest.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,4 @@ public class ActorIdGeneratorTest
1010
public void Setup()
1111
{
1212
}
13-
14-
[Test]
15-
public void compress()
16-
{
17-
var actorId = ActorIdGenerator.GetActorId((ushort)ActorType.World, 1000);
18-
19-
var type = ActorIdGenerator.GetActorType(actorId);
20-
var serverId = ActorIdGenerator.GetServerId(actorId);
21-
22-
Assert.That(type == (ushort)ActorType.World, Is.EqualTo(true));
23-
Assert.That(serverId == 1000, Is.EqualTo(true));
24-
}
2513
}

0 commit comments

Comments
 (0)