Exemplo n.º 1
0
        public void Shoud_return_sum_of_multiples_of_3_or_5(ulong limit, string expectedString)
        {
            var expected = BigInteger.Parse(expectedString);

            var service = new SumOfMultiple();
            var actual  = service.Execute(limit);

            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
 public void Should_throw_exception_when_limit_is_below_0(int limit)
 {
     var service = new SumOfMultiple();
     var dummy   = service.Execute(limit);
 }