예제 #1
0
        public void Difference_WhenValuesAreDifferent_ReturnDifference(int num1, int num2, int expected)
        {
            var test = NumbersClass.Difference(num1, num2);

            Assert.Equal(expected, test);
        }
예제 #2
0
        public void Difference_WhenValuesPresentANegative_ReturnPositive(int num1, int num2)
        {
            var test = NumbersClass.Difference(num1, num2);

            Assert.True(test > 0);
        }