12 references to InvokeAndAssertAsync
Microsoft.Extensions.AI.Tests (12)
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (12)
53await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: useAdditionalTools ? tools : null); 89await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput); 133await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: additionalTools); 184await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 243await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 302await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 366await InvokeAndAssertAsync(options, input, downstreamClientOutput, nonStreamingOutput, expectedDownstreamClientInput); 420await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 483await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 510async () => await InvokeAndAssertAsync(options, input, [], [], [])); 559await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 603await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);