Dotnet_Library/project_name.Tests/UnitTest1.cs

15 lines
313 B
C#
Raw Normal View History

2024-11-27 11:44:34 -08:00
namespace project_name.Tests;
2024-11-27 11:46:28 -08:00
using project_name;
2024-11-27 11:44:34 -08:00
public class UnitTest1
{
[Fact]
public void Test1()
{
var hwp = new HelloWorldProvider();
Assert.Equal("Hello, Simon!", hwp.GetHelloWorld("Simon"));
Assert.Equal("Hello world!", hwp.GetHelloWorld());
}
}