Class SelectOnStringTests
Inherited Members
Namespace: Unity.VisualScripting.Tests.Units.Control
Assembly: solution.dll
Syntax
public class SelectOnStringTests : BaseGraphExecutionTests
Methods
TestMissingBranch()
If the ValueInput for the selected branch is not connected, a MissingValuePortInputException is thrown.
Declaration
public void TestMissingBranch()
TestMissingUnusedBranch()
If the ValueInput for a differrent branch than the one the input is for is not connected, that is fine.
Declaration
public void TestMissingUnusedBranch()
TestSelectsCorrectValue(string, bool)
Tests that the SelectOnString unit selects the correct value.
Declaration
public void TestSelectsCorrectValue(string input, bool caseSensitive)
Parameters
| Type | Name | Description |
|---|---|---|
| string | input | |
| bool | caseSensitive |