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.
23 lines
481 B
C#
23 lines
481 B
C#
using Xunit.Abstractions;
|
|
|
|
namespace OllamaStudy.UseHttpClient
|
|
{
|
|
public class UseXunit
|
|
{
|
|
private ITestOutputHelper _output;
|
|
public UseXunit(ITestOutputHelper outputHelper)
|
|
{
|
|
_output = outputHelper;
|
|
}
|
|
|
|
[Fact]
|
|
public void Use_xUnit_Test()
|
|
{
|
|
var message = "使用 xUnit 单元测试框架!";
|
|
Assert.True(true,message);
|
|
|
|
_output.WriteLine(message);
|
|
}
|
|
}
|
|
}
|