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
480 B
C#
24 lines
480 B
C#
using Xunit.Abstractions;
|
|
|
|
namespace OllamaStudy.CoreTest
|
|
{
|
|
public class UseXUnit
|
|
{
|
|
private readonly ITestOutputHelper _testOutput;
|
|
|
|
public UseXUnit(ITestOutputHelper testOutput)
|
|
{
|
|
_testOutput = testOutput;
|
|
}
|
|
|
|
[Fact]
|
|
public void Test()
|
|
{
|
|
var message = "使用xUnit单元测试框架";
|
|
_testOutput.WriteLine(message);
|
|
|
|
Assert.True(true, message);
|
|
}
|
|
}
|
|
}
|