mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Sensible test
This commit is contained in:
parent
a203523824
commit
34d519cd7c
@ -20,7 +20,7 @@ public void Init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Init_10000()
|
public void Init_50()
|
||||||
{
|
{
|
||||||
for ( int i = 0; i < 50; i++ )
|
for ( int i = 0; i < 50; i++ )
|
||||||
{
|
{
|
||||||
@ -89,10 +89,9 @@ public void Update()
|
|||||||
{
|
{
|
||||||
using ( var client = new Facepunch.Steamworks.Client( 252490 ) )
|
using ( var client = new Facepunch.Steamworks.Client( 252490 ) )
|
||||||
{
|
{
|
||||||
for( int i=0; i<32; i++ )
|
for( int i=0; i<1024; i++ )
|
||||||
{
|
{
|
||||||
client.Update();
|
client.Update();
|
||||||
System.Threading.Thread.Sleep( 10 );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user