コード例 #1
0
        public void Max_FirstNumberLessThanSecond_ReturnSecond()
        {
            var math = new Math();

            var result = math.Max(1, 2);

            Assert.Equal(2, result);
        }
コード例 #2
0
        public void Max_FirstNumberEqualsSecond_ReturnSameValue()
        {
            var math = new Math();

            var result = math.Max(2, 2);

            Assert.Equal(2, result);
        }
コード例 #3
0
        public void Max_FirstNumberGreaterThanSecond_ReturnFirst()
        {
            var math = new Math();

            var result = math.Max(2, 1);

            Assert.Equal(2, result);
        }