Class SwitchOnEnumTests
Inherited Members
Namespace: Unity.VisualScripting.Tests.Units.Control
Assembly: solution.dll
Syntax
public class SwitchOnEnumTests : BaseGraphExecutionTests
Methods
SimpleTest(TestEnum)
A basic test of the SwitchOnEnum node.
Declaration
public void SimpleTest(SwitchOnEnumTests.TestEnum value)
Parameters
| Type | Name | Description |
|---|---|---|
| SwitchOnEnumTests.TestEnum | value |
TestOutputPorts()
The SwitchOnEnum node has an output port for each member in the enum.
Declaration
public void TestOutputPorts()
TestUnexpectedInputValue()
If an enum value comes in that's not in the enum, then none of the control outputs are triggered.
Declaration
public void TestUnexpectedInputValue()