public IActionResult Index() { broodwar3.lib.GoDoWa goDowa = new broodwar3.lib.GoDoWa(); string strTemp = string.Empty; strTemp = goDowa.ReturnReturn(new string[] { "저그와 ", "테란" }); Thread.Sleep(3000); ViewData["Message"] = strTemp; return(View()); }
public void ReturnReturnTest() { // arrange broodwar3.lib.GoDoWa goDowa = new broodwar3.lib.GoDoWa(); string strTemp = string.Empty; // act strTemp = goDowa.ReturnReturn(new string[] { "저그와 ", "테란" }); // assert if (string.IsNullOrEmpty(strTemp)) { Assert.Fail(); } }