示例#1
0
        public void Index()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.Index(2,7) as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
示例#2
0
        public void PrisListe()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.PrisListe() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
            //Assert.AreEqual("NotFound", result);
            //Assert.AreEqual(result., 50);
        }