Exemplo n.º 1
0
        public void CanSleepIn(bool isWeekday, bool isVacation, bool expected)
        {
            Conditionals obj = new Conditionals();

            bool actual = obj.CanSleepIn(isWeekday, isVacation);

            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void CanSleepIn(bool isWeekday, bool isVacation, bool expected)
        {
            //Arrange
            Conditionals test = new Conditionals ();

            //Act
            bool actual = test.CanSleepIn(isWeekday, isVacation);

            //Assert
            Assert.AreEqual(expected, actual);
        }