Skip to content

Commit

Permalink
Assert single workflow input
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Aug 7, 2024
1 parent bb000f8 commit a0581ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Bonsai.Editor.Tests/WorkflowEditorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public void ReplaceGraphNode_SingleInputWithVisualizerMapping_GroupWorkflowHasSi
var groupBuilder = ExpressionBuilder.Unwrap(groupNode?.Value) as GroupWorkflowBuilder;
Assert.IsInstanceOfType(groupBuilder, typeof(GroupWorkflowBuilder));
Assert.AreEqual(expected: 2, groupBuilder.Workflow.Count);
Assert.IsInstanceOfType(ExpressionBuilder.Unwrap(groupBuilder.Workflow[0].Value), typeof(WorkflowInputBuilder));
Assert.IsInstanceOfType(ExpressionBuilder.Unwrap(groupBuilder.Workflow[1].Value), typeof(WorkflowOutputBuilder));
assertIsReversible();
}
Expand Down

0 comments on commit a0581ba

Please sign in to comment.