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.

26 lines
536 B
C#

6 years ago
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using WebApiStudy.WebApp;
using WebApiStudy.WebApp.Controllers;
namespace WebApiStudy.WebAppTest
{
public class TestControllerTest
{
[Fact]
public void Get_Test()
{
TestController controller = new TestController();
var actualList = controller.Get();
var expected = new string[] {"value1", "value2"};
Assert.Equal(expected, actualList);
}
}
}