コード例 #1
0
        public void ReturnTrueIfNumberIsDivisibleByFive()
        {
            var calculator = new Calculator();
            var isDivisibleByFive = calculator.IsDivisibleByFive(10);

            Assert.IsTrue(isDivisibleByFive);
        }
コード例 #2
0
        public void ReturnFalseIfNumberIsNotDivisibleByFive()
        {
            var calculator = new Calculator();
            var isNotDivisibleByFive = calculator.IsDivisibleByFive(7);

            Assert.IsFalse(isNotDivisibleByFive);
        }