コード例 #1
0
        public void ShouldReturnTrueForWeekday()
        {
            var booleanSample = new BooleanSample();
            var result        = booleanSample.IsWeekDay("Monday");

            Assert.IsTrue(result);
        }
コード例 #2
0
        public void ShouldReturnFalseWhenSunday()
        {
            var booleanSample = new BooleanSample();
            var result        = booleanSample.IsWeekDay("Sunday");

            Assert.IsFalse(result);
        }