mirror of
https://github.com/astromaddie/lambda1-vr.git
synced 2026-10-19 19:00:14 +02:00
16 lines
440 B
C++
16 lines
440 B
C++
#include "HostGameOptions.h"
|
|
|
|
#include <cassert>
|
|
|
|
int main()
|
|
{
|
|
assert( HostGame_NormalizeMaxPlayers( -1 ) == 2 );
|
|
assert( HostGame_NormalizeMaxPlayers( 0 ) == 2 );
|
|
assert( HostGame_NormalizeMaxPlayers( 1 ) == 2 );
|
|
assert( HostGame_NormalizeMaxPlayers( 2 ) == 2 );
|
|
assert( HostGame_NormalizeMaxPlayers( 12 ) == 12 );
|
|
assert( HostGame_NormalizeMaxPlayers( 32 ) == 32 );
|
|
assert( HostGame_NormalizeMaxPlayers( 33 ) == 32 );
|
|
return 0;
|
|
}
|