NetworkServerTest: UpdateTransport helper function

This commit is contained in:
vis2k 2021-05-11 16:36:34 +08:00
parent e942062c79
commit 2d24dfefbe

View File

@ -107,6 +107,13 @@ public void TearDown()
Transport.activeTransport = null;
}
// helper function to update the transport and process all messages
public void UpdateTransport()
{
transport.ClientEarlyUpdate();
transport.ServerEarlyUpdate();
}
[Test]
public void IsActiveTest()
{