Пример #1
0
        public void then_one_plus_one_is_two()
        {
            var sut    = new SanityCheckCalculator();
            var result = sut.Add(1, 1);

            Assert.That(result, Is.EqualTo(2));
        }
Пример #2
0
        public void then_two_plus_two_is_four()
        {
            var sut    = new SanityCheckCalculator();
            var result = sut.Add(2, 2);

            Assert.That(result, Is.EqualTo(4));
        }
Пример #3
0
        public void then_zero_pluz_zero_is_zero()
        {
            var sut    = new SanityCheckCalculator();
            var result = sut.Add(0, 0);

            Assert.That(result, Is.EqualTo(0));
        }