예제 #1
0
 public int Adding_Twn_Numbers_Should_Return_Correct_Sum_With_TestCases(int a, int b) => Sut.Add(a, b);
예제 #2
0
        public void Adding_To_MaxValue_Throws_Exception()
        {
            var exception = Assert.Catch <OverflowException>(() => Sut.Add(int.MaxValue, 1));

            Assert.That(exception, Is.TypeOf <OverflowException>());
        }
예제 #3
0
 public override void SetUp()
 {
     base.SetUp();
     Sut.Add(CellEntity1);
 }