public void TestSumUpTo(int below, int expectedResult)
        {
            var sut          = new MultiplesOf3And5();
            var actualResult = sut.CalculateBelow(below);

            Assert.Equal(expectedResult, actualResult);
        }
        public void ShowResultBelow1000()
        {
            var sut          = new MultiplesOf3And5();
            var actualResult = sut.CalculateBelow(1000);

            _output.WriteLine($"Result Under 1000: {actualResult}");
        }
Exemplo n.º 3
0
        public void ShowResultBelow1000()
        {
            var sut          = new MultiplesOf3And5();
            var actualResult = sut.CalculateBelow(1000);

            _output.WriteLine(string.Format("Result Under 1000: {0}", actualResult));
        }