Пример #1
0
        public void Closer(int a, int b, int expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            int actual = obj.Closer(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Пример #2
0
 public void CloserTest(int a, int b, int expected)
 {
     Conditionals test = new Conditionals();
     int actual = test.Closer(a, b);
     Assert.AreEqual(expected, actual);
 }