1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-17 23:56:30 +09:00

Added missing NetUtility.BitsToHoldUInt64

This commit is contained in:
Michael Lidgren
2015-11-25 00:15:39 +01:00
parent 937d023c39
commit 1414e34291
2 changed files with 15 additions and 0 deletions

View File

@@ -21,6 +21,9 @@ namespace UnitTests
Console.WriteLine("Misc tests OK");
Console.WriteLine("Hex test: " + NetUtility.ToHexString(new byte[]{0xDE,0xAD,0xBE,0xEF}));
if (NetUtility.BitsToHoldUInt64((ulong)UInt32.MaxValue + 1ul) != 33)
throw new NetException("BitsToHoldUInt64 failed");
}
}
}