public void IndexTest() { CheckInController check = new CheckInController(); var a = check.Show(); Assert.AreEqual(1, 1); // Assert.Fail(); }
public void ShowTest() { CheckInController controler = new CheckInController(); // var result = controler.Show(); var results = controler.Show() as ViewResult; Assert.Equal(4, Add(2, 2)); var model = results.Model as CheckIn; CheckInController check = new CheckInController(); var a = check.Show(); }