public void OnReceiveTest() { long iPacketID = 0; // TODO: 初始化为适当的值 long iLength = 0; // TODO: 初始化为适当的值 bool bInGame = false; // TODO: 初始化为适当的值 PacketReceiveCallback onPacketReceive = null; // TODO: 初始化为适当的值 PacketHandler target = new PacketHandler( iPacketID, iLength, bInGame, onPacketReceive ); // TODO: 初始化为适当的值 PacketReceiveCallback actual; actual = target.OnReceive; Assert.Inconclusive( "验证此测试方法的正确性。" ); }
public void PacketHandlerConstructorTest() { long iPacketID = 0; // TODO: 初始化为适当的值 long iLength = 0; // TODO: 初始化为适当的值 bool bInGame = false; // TODO: 初始化为适当的值 PacketReceiveCallback onPacketReceive = null; // TODO: 初始化为适当的值 PacketHandler target = new PacketHandler( iPacketID, iLength, bInGame, onPacketReceive ); Assert.Inconclusive( "TODO: 实现用来验证目标的代码" ); }