Ejemplo n.º 1
0
        public void LastDigit(int a, int b, int c, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.LastDigit(a, b, c);

            // assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
 public void LastDigitTest(int a, int b, int c, bool expected )
 {
     Logic test = new Logic();
     bool actual = test.LastDigit(a, b, c);
     Assert.AreEqual(expected, actual);
 }