Esempio n. 1
0
        public void DoublingMethodShouldReturnDoubledResult(int?until)
        {
            // arrange
            var context    = SetUpApplicationContext();
            var controller = new FrontController(context);

            //act
            var result  = controller.GetDoubling(until);
            var logList = context.Logs.ToList();

            // assert

            Assert.Equal(10, result.Value.Result);
        }