Class SelectOnIntegerTests
Inherited Members
Namespace: Unity.VisualScripting.Tests.Units.Control
Assembly: solution.dll
Syntax
public class SelectOnIntegerTests : BaseGraphExecutionTests
Methods
TestSelectsCorrectValue(int)
Tests that the SelectOnInteger unit selects the correct value.
Declaration
public void TestSelectsCorrectValue(int input)
Parameters
| Type | Name | Description |
|---|---|---|
| int | input |
TestWithNoDefault(int)
If there is no node connected to the default value input, then values that would get its value throw a nity.VisualScripting.MissingValuePortInputException.
Declaration
public void TestWithNoDefault(int input)
Parameters
| Type | Name | Description |
|---|---|---|
| int | input |