Interface IConditionalPredicate
A conditional predicate interface used with integration testing.
Namespace: Unity.Netcode.TestHelpers.Runtime
Assembly: Unity.Netcode.Runtime.Tests.dll
Syntax
public interface IConditionalPredicate
Methods
Finished(bool)
Wait for condition has finished:
Condition(s) met or timed out
Declaration
void Finished(bool timedOut)
Parameters
Type | Name | Description |
---|---|---|
bool | timedOut | true or false |
HasConditionBeenReached()
Test the conditions of the test to be reached
Declaration
bool HasConditionBeenReached()
Returns
Type | Description |
---|---|
bool | true or false |
Started()
Wait for condition has started
Declaration
void Started()