Class ExclusiveOrTests
Inherited Members
Namespace: Unity.VisualScripting.Tests.Units.Logic
Assembly: solution.dll
Syntax
public class ExclusiveOrTests : BaseGraphExecutionTests
Methods
SimpleTest(bool, bool)
Tests every permutation of inputs for the ExclusiveOr unit.
Declaration
public void SimpleTest(bool lhs, bool rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | lhs | |
| bool | rhs |
TestPortAttributes()
Tests the various attributes of the node ports.
Declaration
public void TestPortAttributes()
TestPortsDisconnected(bool, bool, bool, bool, bool)
Tests expected behaviour when ports are disconnected.
Declaration
public void TestPortsDisconnected(bool lhs, bool rhs, bool lhsDisconnected, bool rhsDisconnected, bool resultDisconnected)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | lhs | |
| bool | rhs | |
| bool | lhsDisconnected | |
| bool | rhsDisconnected | |
| bool | resultDisconnected |