You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
527 B
C#
24 lines
527 B
C#
using Xunit.Abstractions;
|
|
|
|
namespace OllamaStudy.UseHttpClientTest
|
|
{
|
|
public class UseXunitDependencyInjection
|
|
{
|
|
private readonly ITestOutputHelper _testOutput;
|
|
|
|
public UseXunitDependencyInjection(ITestOutputHelper testOutput)
|
|
{
|
|
_testOutput = testOutput;
|
|
}
|
|
|
|
[Fact]
|
|
public void Test()
|
|
{
|
|
var message = "使用xUnit单元测试框架";
|
|
_testOutput.WriteLine(message);
|
|
|
|
Assert.True(true, message);
|
|
}
|
|
}
|
|
}
|