Class NullCheckTests
Inherited Members
Namespace: Unity.VisualScripting.Tests.Units.Nulls
Assembly: solution.dll
Syntax
public class NullCheckTests : BaseGraphExecutionTests
Methods
TestCorrectOutputFlowTriggered(bool)
Tests that the correct output flow is triggered.
Declaration
public void TestCorrectOutputFlowTriggered(bool testNull)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | testNull |
TestCorrectOutputFlowTriggeredForUnityObject(bool)
Tests that the correct output flow is triggered when called with a subclass of UnityEngine.Object.
Declaration
public void TestCorrectOutputFlowTriggeredForUnityObject(bool testNull)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | testNull |
Remarks
There is a special case in the NullCheck unit to do the comparison differently for subclasses of UnityEngine.Object.